2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr58539.c
bloba016150f18ee7a55228660f4915fb945cfa08511
1 /* { dg-do compile } */
2 /* { dg-options "-g" } */
4 int a, b;
6 extern void baz (int);
8 int foo (int p)
10 return p ? p : 1;
13 void bar ()
15 int *c = &a, *d = &a;
16 for (b = 0; b < 12; b++)
17 *d |= 1;
18 foo (*c);
19 baz (*c && 1);