libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-sink-15.c
blobda6921ed6a36f397bef6734d8ab139abd8d9e2fb
1 /* PR79725 */
2 /* { dg-do compile { target size32plus } } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 _Complex double f(_Complex double x[])
7 _Complex float p = 1.0;
8 for (int i = 0; i < 1000000; i++)
9 p = x[i];
10 return p;
13 /* Verify we end up with a single BB and no loop. */
14 /* { dg-final { scan-tree-dump-times "goto" 0 "optimized" } } */