]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-20.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-20.c
CommitLineData
d155c6fe
JL
1/* { dg-do compile } */
2/* { dg-options "-O1 -fno-tree-dce -fdump-tree-optimized" } */
3_Complex int t = 0;
4int f(void)
5{
6 t = 0;
7 __imag__ 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" } } */
13