1 /* PR tree-optimization/64277 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -Wall -Werror -fdump-tree-cunroll-details" } */
4 /* { dg-final { scan-tree-dump "loop with 4 iterations completely unrolled" "cunroll" } } */
5 /* { dg-final { scan-tree-dump "loop with 5 iterations completely unrolled" "cunroll" } } */
8 __extension__
typedef __INT32_TYPE__
int32_t;
14 void test1 (short a
[], short m
, unsigned short l
)
17 for (i
= i
+ 5; i
< m
; i
++)
21 void test2 (short a
[], short m
, short l
)
26 for (i
= m
; i
> l
; i
--)