PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr67830.c
blob9bfb0c0531ee41b888d17e0fe01b97a14ef0c33f
1 /* PR tree-optimization/67830 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 int a, b, *g, h;
6 unsigned char c, d;
8 int
9 main ()
11 int f, e = -2;
12 b = e;
13 g = &b;
14 h = c = a + 1;
15 f = d - h;
16 *g &= f;
18 if (b != -2)
19 __builtin_abort ();
21 return 0;