OSDN Git Service

* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
[pf3gnuchains/gcc-fork.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"} } */
17 /* { dg-final { cleanup-tree-dump "optimized" } } */