annotate gcc/testsuite/gcc.c-torture/compile/pr37380.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 typedef struct basic_block_def *basic_block;
kono
parents:
diff changeset
2 typedef struct gimple_seq_node_d *gimple_seq_node;
kono
parents:
diff changeset
3 typedef struct gimple_seq_d *gimple_seq;
kono
parents:
diff changeset
4 typedef struct
kono
parents:
diff changeset
5 {
kono
parents:
diff changeset
6 gimple_seq_node ptr;
kono
parents:
diff changeset
7 gimple_seq seq;
kono
parents:
diff changeset
8 basic_block bb;
kono
parents:
diff changeset
9 } gimple_stmt_iterator;
kono
parents:
diff changeset
10 typedef void *gimple;
kono
parents:
diff changeset
11 extern void exit(int);
kono
parents:
diff changeset
12 struct gimple_seq_node_d
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 gimple stmt;
kono
parents:
diff changeset
15 struct gimple_seq_node_d *next;
kono
parents:
diff changeset
16 };
kono
parents:
diff changeset
17 struct gimple_seq_d
kono
parents:
diff changeset
18 {
kono
parents:
diff changeset
19 };
kono
parents:
diff changeset
20 static __inline__ gimple_stmt_iterator
kono
parents:
diff changeset
21 gsi_start (gimple_seq seq)
kono
parents:
diff changeset
22 {
kono
parents:
diff changeset
23 gimple_stmt_iterator i;
kono
parents:
diff changeset
24 i.seq = seq;
kono
parents:
diff changeset
25 return i;
kono
parents:
diff changeset
26 }
kono
parents:
diff changeset
27 static __inline__ unsigned char
kono
parents:
diff changeset
28 gsi_end_p (gimple_stmt_iterator i)
kono
parents:
diff changeset
29 {
kono
parents:
diff changeset
30 return i.ptr == ((void *)0);
kono
parents:
diff changeset
31 }
kono
parents:
diff changeset
32 static __inline__ void
kono
parents:
diff changeset
33 gsi_next (gimple_stmt_iterator *i)
kono
parents:
diff changeset
34 {
kono
parents:
diff changeset
35 i->ptr = i->ptr->next;
kono
parents:
diff changeset
36 }
kono
parents:
diff changeset
37 static __inline__ gimple
kono
parents:
diff changeset
38 gsi_stmt (gimple_stmt_iterator i)
kono
parents:
diff changeset
39 {
kono
parents:
diff changeset
40 return i.ptr->stmt;
kono
parents:
diff changeset
41 }
kono
parents:
diff changeset
42 void
kono
parents:
diff changeset
43 c_warn_unused_result (gimple_seq seq)
kono
parents:
diff changeset
44 {
kono
parents:
diff changeset
45 gimple_stmt_iterator i;
kono
parents:
diff changeset
46 for (i = gsi_start (seq); !gsi_end_p (i); gsi_next (&i))
kono
parents:
diff changeset
47 {
kono
parents:
diff changeset
48 gimple g = gsi_stmt (i);
kono
parents:
diff changeset
49 if (!g) exit(0);
kono
parents:
diff changeset
50 }
kono
parents:
diff changeset
51 }