libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / ssa-fre-3.c
blob2ec1c28375e5b591a201d142188325cdf2949b53
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
3 /* { dg-additional-options "-fdump-tree-fre1" } */
5 int x;
6 int main()
8 x = 0;
9 int z = x;
10 int w = 1;
11 for (int i = 0; i < 32; ++i)
13 if (z)
14 w = 2;
15 else
16 w = 1;
17 if (w == 2)
18 __builtin_abort ();
20 return w;
23 /* { dg-final { scan-tree-dump-not "abort" "fre1" } } */