summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/20030709-1.c
blob: 686ca76a36717386d099f20f27c638627594ff74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { 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" } } */