Handle peeling for alignment with masking
[official-gcc.git] / gcc / testsuite / gcc.dg / pr48768.c
blob990c537c19490e52493d1b888878c2903a2719bc
1 /* PR debug/48768 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fcompare-debug" } */
4 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
6 int a, b;
8 int
9 bar (void)
11 int i, j = 1;
12 for (i = 0; i != 10; i++)
14 lab:
15 if (i)
17 int *k = &j;
19 else if (j)
20 goto lab;
22 return 1;
25 inline int
26 foo (int x)
28 unsigned int c = x;
29 int d = x;
30 if (bar ())
31 for (; c; c++)
32 while (x >= 0)
33 if (foo (d) >= 0)
35 d = bar ();
36 a = b ? b : 1;
38 return 0;