libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / complex-8.c
bloba9636ff9e9a5dcedb90ddf4e9ae45e807ba8b144
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-cplxlower1-raw" } */
4 _Complex double f(double a, double c)
6 _Complex double d = __builtin_complex (a, a);
7 d+=__builtin_complex(c, c);
8 return d;
11 /* There should only be one plus as (a+c) is still (a+c) */
12 /* { dg-final { scan-tree-dump-times "plus_expr, " 1 "cplxlower1" } } */