Hi all, here is a patch for a pretty bad wrong-code regression, which affects all maintained releases of gfortran. For discussion see bugzilla.
Regtested on x86_64-unknown-linux-gnu. Ok for 4.6, 4.7 and trunk? Cheers, Janus 2012-12-15 Janus Weil <ja...@gcc.gnu.org> PR fortran/55072 * trans-array.c (gfc_conv_array_parameter): No packing was done for full arrays of derived type. 2012-12-15 Janus Weil <ja...@gcc.gnu.org> PR fortran/55072 * gfortran.dg/assumed_type_2.f90: Fix test case. * gfortran.dg/internal_pack_13.f90: New test. * gfortran.dg/internal_pack_14.f90: New test.
pr55072_v4.diff
Description: Binary data
internal_pack_13.f90
Description: Binary data
internal_pack_14.f90
Description: Binary data