Debian Codegraph @

gcc/testsuite/gfortran.dg/bound_simplification_2.f90

raw
1 ! { dg-do compile }
2 ! PR 38914 - this used to give an ICE due to missing
3 ! simplification.
4 module foo
5 INTEGER, PARAMETER, DIMENSION(0:20,4) :: IP_ARRAY2_4_S = 0
6 INTEGER, PARAMETER, DIMENSION(2) :: IP_ARRAY1_32_S = &
7 & (/ LBOUND(IP_ARRAY2_4_S(5:10,2:3))/)
8 END module foo