2 ! { dg-options "-O -fdump-tree-cunroll-details -fdump-rtl-loop2_unroll-details" }
15 ! { dg-final { scan-tree-dump "12:.*: loop with 7 iterations completely unrolled" "cunroll" } } */
18 subroutine test2(a
, n
)
21 integer (kind
=1), intent(in
) :: n
27 ! { dg-final { scan-rtl-dump "24:.: optimized: loop unrolled 7 times" "loop2_unroll" } }
30 subroutine test3(a
, n
)
32 integer (kind
=1), intent(in
) :: n
39 ! { dg-final { scan-rtl-dump "36:.: optimized: loop unrolled 7 times" "loop2_unroll" } }
42 subroutine test4(a
, n
)
44 integer (kind
=1), intent(in
) :: n
51 ! { dg-final { scan-rtl-dump "48:.: optimized: loop unrolled 7 times" "loop2_unroll" } }