PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr58385.c
blob8d7da6fc9721ed65fbc7a3b6f8bd2a815bc4f148
1 /* PR tree-optimization/58385 */
3 extern void abort (void);
5 int a, b = 1;
7 int
8 foo ()
10 b = 0;
11 return 0;
14 int
15 main ()
17 ((0 || a) & foo () >= 0) <= 1 && 1;
18 if (b)
19 abort ();
20 return 0;