re PR fortran/65024 ([OOP] unlimited polymorphic pointer structure not built when...
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 10 Mar 2015 19:39:05 +0000 (19:39 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 10 Mar 2015 19:39:05 +0000 (19:39 +0000)
commit48188959fd8a9bb1d7da833466f314210693bc11
tree0221006f58a79ee652d8b698c5ec3d634a53c2a3
parent704c79040af06477eaa18ee560270f22214a359a
re PR fortran/65024 ([OOP] unlimited polymorphic pointer structure not built when it should be)

2015-03-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/65024
* trans-expr.c (gfc_conv_component_ref): If the component
backend declaration is missing and the derived type symbol is
available in the reference, call gfc_build_derived_type.

2015-03-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/65024
* gfortran.dg/unlimited_polymorphic_23.f90: New test

From-SVN: r221334
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/unlimited_polymorphic_23.f90 [new file with mode: 0644]