This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r218584 - in /trunk/gcc: fortran/ChangeLog fort...
- From: edlinger at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 10 Dec 2014 15:29:20 -0000
- Subject: r218584 - in /trunk/gcc: fortran/ChangeLog fort...
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.edlinger@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.edlinger@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