Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-21.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fno-tree-dce -fdump-tree-optimized" } */
3 _Complex int t = 0;
4 int f(void)
5 {
6 t = 0;
7 __real__ t = 2;
8 }
9
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" } } */