[Bug fortran/36132] [4.4 Regression] issue with _gfortran_internal_pack
jv244 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Mon May 5 13:25:00 GMT 2008
------- Comment #1 from jv244 at cam dot ac dot uk 2008-05-05 13:25 -------
testcase:
MODULE M1
INTEGER, PARAMETER :: dp=KIND(0.0D0)
CONTAINS
SUBROUTINE S1(a)
REAL(dp), DIMENSION(45), INTENT(OUT), &
OPTIONAL :: a
IF (PRESENT(a)) a=0.0_dp
END SUBROUTINE S1
SUBROUTINE S2(a)
REAL(dp), DIMENSION(:, :), INTENT(OUT), &
OPTIONAL :: a
CALL S1(a)
END SUBROUTINE
END MODULE M1
USE M1
REAL(dp) :: a(5,9)
CALL S2()
END
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36132
More information about the Gcc-bugs
mailing list