libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / inline-13.c
blob94d8a9c709e6755a96e396662f955cfe71b0d24a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-early-inlining -fdump-tree-fixup_cfg3" } */
4 int n;
6 static int
7 bar (void)
9 int a;
11 n = 0;
12 a = 0;
14 return n;
17 __attribute__ ((pure, returns_twice)) int
18 foo (void)
20 n = bar () + 1;
21 foo ();
23 return 0;
26 /* Abnormal edges should be properly elided after IPA inlining of bar. */
27 /* { dg-final { scan-tree-dump-times "bb" 1 "fixup_cfg3" } } */