2013-05-06 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / autopar / pr57185.c
blobb4657576dc9f46cea170965924b134ed2484642f
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -ftree-parallelize-loops=2 -fipa-pta" } */
4 int a, b;
5 int *d;
6 void f(void)
8 int c;
9 b %= 1;
11 if(1 - (b < 1))
13 int *q = 0;
15 if(a)
17 c = 0;
18 lbl:
19 for(*d; *d; ++*d)
20 if(c ? : a ? : (c = 1) ? : 0)
21 *q &= 1;
22 return;
25 q = (int *)1;
27 goto lbl;