* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr34808.c
blob63be3f6287a2db08389a2db1409c4d984a69b40a
1 /* PR 34808 */
2 /* { dg-do compile }
3 /* { dg-options "-fno-tree-dominator-opts" } */
5 extern int flags;
7 struct r { int code; int val;};
9 void bar (void);
10 void baz (void);
12 int
13 foo (struct r *home)
15 int n = 0;
16 int regno = -1;
18 if (home->code == 0)
19 regno = home->val;
21 if (home->code == 1)
22 bar ();
23 else if (regno >= 0)
24 n = (regno == 16
25 ? 16
26 : (regno - (unsigned long long) (flags != 0 ? 63 : 15)
27 ? regno - 128
28 : -1));
30 baz ();
31 return n;