]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-19.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-19.c
CommitLineData
d155c6fe 1/* { dg-do compile } */
2b8453c4 2/* { dg-options "-O2 -fno-tree-vectorize -fdump-tree-optimized" } */
d155c6fe
JL
3int g(_Complex int*);
4int f(void)
5{
6 _Complex int t = 0;
7 int i, j;
8 __real__ t += 2;
9 return g(&t);
10}
11
12
13/* { dg-final { scan-tree-dump-times "__complex__" 0 "optimized" } } */
14/* { dg-final { scan-tree-dump-times "REALPART_EXPR" 1 "optimized" } } */
15/* { dg-final { scan-tree-dump-times "IMAGPART_EXPR" 1 "optimized" } } */