* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030611-1.c
blob9250ab3b4a7b0546db2d2eeba7e53df80cc6dcc5
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern int square (int) __attribute__ ((__const__));
5 int
6 shit(int a)
8 return square (a) + square (a);
12 /* There should be precisely one call to square. If there is more than one,
13 then the dominator optimizations failed to remove the redundant call. */
14 /* { dg-final { scan-tree-dump-times "square" 1 "dom2"} } */