1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern int square (int) __attribute__ ((__const__
));
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"} } */