PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / scev-2.c
blob0cac994757641af43d3d98e1437d78dff876c814
1 /* PR tree-optimization/19899 */
2 /* Decrementing a floating-point variable in a loop caused an ICE. */
4 /* { dg-do run } */
5 /* { dg-options "-O -ftree-vectorize" } */
7 extern void abort (void);
9 int main()
11 double a = 20;
12 int i;
14 for (i = 0; i < 10; ++i)
15 a -= 2;
17 if (a)
18 abort();
19 return 0;