1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fno-tree-tail-merge -fdump-tree-vrp1" } */ 3 4 extern void abort (void); 5 6 int a; 7 8 int main(void)9main(void) 10 { 11 if (a * 1000 < 0) 12 abort (); 13 if (a * -43 > 0) 14 abort (); 15 return 0; 16 } 17 18 /* { dg-final { scan-tree-dump-times "Removing basic block" 2 "vrp1" } } */ 19 /* { dg-final { cleanup-tree-dump "vrp1" } } */ 20 21