PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70807.c
blob9ef2a4d909782a6f82f8cf2e04e2d131684b57e5
1 /* PR middle-end/70807 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 typedef int INT;
6 int a, b, c, d, e, f;
7 void fn1() {
8 INT g;
9 if (d && a)
11 else if (e && b)
13 else if (!a && !b && c)
15 else if (b && d || a && e)
16 a = 0;
17 f = g || d;