aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/20040308-4.c
blob: ac85077551fd7c16644f0bfb6096b93dcdbe994f (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-phiopt1-details" } */

int t( int i, int k)
{
  int j;
  if(i!=k)
   j = i;
  else
   j = k;
  
  return j;
}

/* We should convert one COND_EXPRs into straightline code.  */
/* { dg-final { scan-tree-dump-times "straightline" 1 "phiopt1"} } */