2 ! { dg-additional-options "-fcheck=bounds -fdump-tree-original" }
4 ! PR fortran/113471 - wrong array bounds check
9 integer, dimension(2) :: c1
= 0
11 type(t
) :: cc(7), bb(7)
14 ! no bounds check (can be determined at compile time):
17 ! bounds check involving kk, but no "outside of expected range"
22 integer, intent(in
) :: c(:)
26 ! { dg-final { scan-tree-dump-times "below lower bound" 2 "original" } }
27 ! { dg-final { scan-tree-dump-times "above upper bound" 2 "original" } }
28 ! { dg-final { scan-tree-dump-not "outside of expected range" "original" } }