libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr106497.c
blob601200de9e3257b1193f38ecce3f4883f8ac2129
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-dce" } */
4 int n;
6 __attribute__ ((pure,returns_twice)) int
7 bar (void);
9 int
10 foo (int x)
12 n = 0;
14 bar ();
16 if (x && n)
17 return 0;
19 foo (x);