libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-21.c
blobd1e0b85bc0150ac72ef87eda6919430bead0e0aa
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fno-tree-dce -fdump-tree-optimized" } */
3 _Complex int t = 0;
4 int f(void)
6 t = 0;
7 __real__ t = 2;
10 /* { dg-final { scan-tree-dump-times "__complex__" 0 "optimized" } } */
11 /* { dg-final { scan-tree-dump-times "REALPART_EXPR" 1 "optimized" } } */
12 /* { dg-final { scan-tree-dump-times "IMAGPART_EXPR" 1 "optimized" } } */