libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr109410.c
bloba6401fc100cad8f4f19d7f4481982a1ff9d4760b
1 /* PR tree-optimization/109410 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 __attribute__((returns_twice)) int baz (int, int);
7 int
8 bar (int x)
10 return x;
13 int
14 foo (int x, int y)
16 baz (x, y);
17 int a = bar (x);
18 return y || a == 42 || a > 42;