2 ! { dg-options "-fdump-tree-original" }
6 ! Contributed by A. Kasahara
11 Real, allocatable
:: a(:)
16 iszs
= ubound((a
), 1)! Was ICEing
17 ! print*, ubound((a), 1) ! Was ICEing
18 ! print*, ubound(a, 1) ! OK
19 ! print*, lbound((a), 1) ! OK
20 ! print*, lbound(a, 1) ! OK
25 ! { dg-final { scan-tree-dump-times "iszs = \\(integer\\(kind=2\\)\\) MAX_EXPR <\\(D.\[0-9\]+->dim.0..ubound - D.\[0-9\]+->dim.0..lbound\\) \\+ 1, 0>;" 1 "original" } }