Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / vrp12.c
blob1714a561cd5cf35967ec9d53db4230d8c54c8713
1 /* { dg-do link } */
2 /* { dg-options -O2 } */
4 foo (int i)
6 int x;
8 x = i;
9 if (i < -10)
11 x = __builtin_abs (i);
12 /* VRP was incorrectly folding this to if (1). */
13 if (x < 0)
14 link_error ();
17 return x;
20 main()
22 foo (-30);