PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr64511.c
blob83cb5af807c59492c19e913e5ff7e0f2128a548b
1 /* PR debug/64511 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -g" } */
5 int a, c;
6 int *volatile b;
8 void
9 foo (int p)
11 int d;
12 int *e = &a;
13 d = ((p == 0) & *e) != 0;
14 b = e;
15 for (; c;)
19 void
20 bar (void)
22 foo (1);