1 /* { dg-do compile } */
2 /* { dg-options "-fstrict-overflow -O2 -fdump-tree-optimized" } */
4 /* We can only unroll when using strict overflow semantics. */
11 for (index = i; index <= i+4; index+=2)
17 /* { dg-final { scan-tree-dump "return 3" "optimized" } } */
18 /* { dg-final { cleanup-tree-dump "optimized" } } */