* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr37380.c
blobd757e0245a002039048c9711ad75ce15895b6d5f
1 typedef struct basic_block_def *basic_block;
2 typedef struct gimple_seq_node_d *gimple_seq_node;
3 typedef struct gimple_seq_d *gimple_seq;
4 typedef struct
6 gimple_seq_node ptr;
7 gimple_seq seq;
8 basic_block bb;
9 } gimple_stmt_iterator;
10 typedef void *gimple;
11 extern void exit(int);
12 struct gimple_seq_node_d
14 gimple stmt;
15 struct gimple_seq_node_d *next;
17 struct gimple_seq_d
20 static __inline__ gimple_stmt_iterator
21 gsi_start (gimple_seq seq)
23 gimple_stmt_iterator i;
24 i.seq = seq;
25 return i;
27 static __inline__ unsigned char
28 gsi_end_p (gimple_stmt_iterator i)
30 return i.ptr == ((void *)0);
32 static __inline__ void
33 gsi_next (gimple_stmt_iterator *i)
35 i->ptr = i->ptr->next;
37 static __inline__ gimple
38 gsi_stmt (gimple_stmt_iterator i)
40 return i.ptr->stmt;
42 void
43 c_warn_unused_result (gimple_seq seq)
45 gimple_stmt_iterator i;
46 for (i = gsi_start (seq); !gsi_end_p (i); gsi_next (&i))
48 gimple g = gsi_stmt (i);
49 if (!g) exit(0);