OSDN Git Service

PR middle-end/51761
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr46107.c
1 /* PR tree-optimization/46107 */
2
3 int foo (void) __attribute__ ((noreturn));
4
5 void
6 bar (int x, int *y, int z)
7 {
8   static void *j[] = { &&l1, &&l2 };
9 l1:
10   if (*y)
11     goto *j[z];
12   foo ();
13 l2:
14   *y ^= (x & 1) ? -1 : 0;
15   goto *j[x];
16 }