Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-compare-2.c
blob15ea462d4405d051415fbb9fa274546d96770d29
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-tree-tail-merge -fdump-tree-vrp1" } */
4 extern void abort (void);
6 int a;
8 int
9 main(void)
11 if (a * 1000 < 0)
12 abort ();
13 if (a * -43 > 0)
14 abort ();
15 return 0;
18 /* { dg-final { scan-tree-dump-times "Removing basic block" 2 "vrp1" } } */
19 /* { dg-final { cleanup-tree-dump "vrp1" } } */