]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/ssa-dce-1.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dce-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dce3" } */
3
4 int t() __attribute__ ((const));
5 void
6 q()
7 {
8 int i = t();
9 if (!i)
10 i = t();
11 }
12 /* There should be no IF conditionals. */
13 /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */