re PR fortran/64578 ([OOP] Seg-fault and ICE with unlimited polymorphic array pointer...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 17 Jan 2015 20:44:07 +0000 (20:44 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 17 Jan 2015 20:44:07 +0000 (20:44 +0000)
commit029b2d5596f305555711b68a66beb2b91228df21
tree5980d86dc9e67a2048bc38f55fd9197b63dfe896
parent9b5485174b808986614d6d1d1f0ec319831c9ec4
re PR fortran/64578 ([OOP] Seg-fault and ICE with unlimited polymorphic array pointer function)

2015-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64578
* trans-expr.c (gfc_trans_pointer_assignment): Make sure that
before reinitializing rse, to add the rse.pre to block before
creating 'ptrtemp'.
* trans-intrinsic.c (gfc_conv_associated): Deal with the class
data being a descriptor.

2015-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64578
* gfortran.dg/unlimited_polymorphic_21.f90: New test

From-SVN: r219802
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog