]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-21.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-21.c
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" } } */