[Bug fortran/36132] [4.4 Regression] issue with _gfortran_internal_pack

2008-05-05 Thread jv244 at cam dot ac dot uk
--- 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

[Bug fortran/36132] [4.4 Regression] issue with _gfortran_internal_pack

2008-05-05 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-05-05 13:46 --- I have probably a too old gfortran 4.4.0 (namely 20080424), but it does not crash here. I see the same valgrind output using gfortran 4.1, 4.2, 4.3 and 4.4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36132