* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / cmp-1.c
blob6faa70c8df3a741c4abcd639e147020340217f32
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-gimple -fdump-tree-optimized" } */
4 int f(int a){
5 int b = -__INT_MAX__-1;
6 a &= b;
7 return a == b;
9 int g(int x){
10 x = x < 0 ? -x : x;
11 return x == 0;
14 /* This should work even if int is not 32 bits, it is just not meaningful in
15 that case. */
16 /* { dg-final { scan-tree-dump-not "-2147483648" "optimized"} } */
17 /* { dg-final { scan-tree-dump " < 0" "optimized"} } */
18 /* { dg-final { scan-tree-dump "ABS_EXPR" "gimple"} } */
19 /* { dg-final { scan-tree-dump-not "ABS_EXPR" "optimized"} } */