* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030807-2.c
blob0712922b3638f983152ce2463474a0578667b506
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -ftree-vrp -fdump-tree-dom2" } */
3 /* { dg-require-effective-target alloca } */
5 extern void abort (void);
6 extern void bitmap_clear (int *);
7 extern void bar (int *);
9 void
10 oof ()
12 int live_head;
13 int * live = &live_head;
15 if (live)
16 bitmap_clear (live);
19 void
20 foo(int n)
22 int *space = (int *)__builtin_alloca (n);
24 if (space == 0)
25 abort ();
26 else
27 bar (space);
31 /* There should be no IF conditionals. */
32 /* { dg-final { scan-tree-dump-times "if " 0 "dom2" } } */