https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60718
--- Comment #16 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- Author: edlinger Date: Wed Dec 10 15:29:19 2014 New Revision: 218584 URL: https://gcc.gnu.org/viewcvs?rev=218584&root=gcc&view=rev Log: 2014-12-10 Bernd Edlinger <bernd.edlin...@hotmail.de> PR fortran/60718 * trans-expr.c (gfc_conv_procedure_call): Fix a strict aliasing violation when passing a class object to a formal parameter which has different pointer or allocatable attributes. testsuite: 2014-12-10 Bernd Edlinger <bernd.edlin...@hotmail.de> PR fortran/60718 * gfortran.dg/class_alias.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/class_alias.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog