]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/20030709-1.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030709-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
3
4 static int copying_arguments;
5
6 int
7 foo ()
8 {
9 unsigned int regno;
10 if (regno < 53 && copying_arguments)
11 if (regno >= 53)
12 return 1;
13 }
14
15 /* There should be no IF conditionals. */
16 /* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */