* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040210-1.c
blobb5d253bae69e1d8383be720cd0aed587547f2096
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-phiopt1-details" } */
5 void abort(void);
6 void exit(int);
8 int x, y;
10 static void __attribute__ ((noinline))
11 init_xy(void)
13 x = 3;
14 y = 2;
17 void
18 test4(void)
20 init_xy();
21 if ((x < y ? x++ : y++) != 2)
22 abort ();
25 int
26 main(){
27 test4 ();
28 exit (0);
31 /* Should have no more than two ifs left after straightening. */
32 /* { dg-final { scan-tree-dump-times "if " 2 "phiopt1"} } */