rt_gccstream/gcc/testsuite/gcc.dg/tree-ssa/20030709-1.c

18 lines
453 B
C

/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-optimized" } */
static int copying_arguments;
int
foo ()
{
unsigned int regno;
if (regno < 53 && copying_arguments)
if (regno >= 53)
return 1;
}
/* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */