PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83771.c
bloba5a386e20eba938425b0060d408f5eb502a63c37
1 /* PR rtl-optimization/83771 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fmodulo-sched -fno-ssa-phiopt" } */
5 long int a;
6 int b;
7 int foo (int);
9 void
10 bar (void)
12 int c;
15 c = a / (!!b == 1);
16 c = !!c + 1;
18 while (foo (c) < 1);