[Bug fortran/55072] [4.6/4.7/4.8 Regression] Missing internal_pack leads to wrong code with derived type
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 14 23:18:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55072
--- Comment #5 from janus at gcc dot gnu.org 2012-12-14 23:17:01 UTC ---
Some debugging of comment #2:
With old versions of gfortran (e.g. 4.3), the argument in the call to s2 is
being packed:
D.938 = _gfortran_internal_pack (&parm.8);
s2 (D.938);
With newer versions (e.g. trunk), this is not the case any more:
s2 ((struct particle[0:] *) parm.8.data);
More information about the Gcc-bugs
mailing list