re PR fortran/63553 ([OOP] Wrong code when assigning a CLASS to a TYPE)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 18 Oct 2014 14:35:51 +0000 (14:35 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 18 Oct 2014 14:35:51 +0000 (14:35 +0000)
commit22c23886dbe53c6a4677d45dee9ed8c2e56a2f2c
tree56aba0cde88a84d0a7cba8bbdb9fa080b38d13b0
parent54157b52419121fb41b6a3a287c4a4a02c0bd52d
re PR fortran/63553 ([OOP] Wrong code when assigning a CLASS to a TYPE)

2014-10-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/63553
* resolve.c (resolve_ordinary_assign): Add data component to
rvalue expression for class to type assignment.

2014-10-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/63553
* gfortran.dg/class_to_type_3.f03 : New test

From-SVN: r216427
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_to_type_3.f03 [new file with mode: 0644]