PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040518-2.c
blob009dce45efabfbf77caa7a586e9d6b1b69507276
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-phiopt1-details" } */
4 int t( int i)
6 int j;
7 if(i>=0)
8 j = i;
9 else
10 j = -i;
11 return j;
14 /* We should convert one COND_EXPRs into straightline code with ABS. */
15 /* { dg-final { scan-tree-dump-times "straightline" 1 "phiopt1"} } */
16 /* { dg-final { scan-tree-dump-times "ABS_EXPR" 1 "phiopt1"} } */