re PR fortran/78395 ([OOP] error on polymorphic assignment)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 20 Nov 2016 14:21:43 +0000 (15:21 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 20 Nov 2016 14:21:43 +0000 (15:21 +0100)
commit8294f55513cd9f15b6ac729265c45a7a6837898f
tree58b4540d83d04271450ff7f8aceb277459f0a59f
parent5b7f6ed0b39936a0e29e76a54d94a85bc0787f18
re PR fortran/78395 ([OOP] error on polymorphic assignment)

gcc/testsuite/ChangeLog:

2016-11-20  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/78395
* gfortran.dg/typebound_operator_21.f03: New test.

gcc/fortran/ChangeLog:

2016-11-20  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/78395
* resolve.c (resolve_typebound_function): Prevent stripping of refs,
when the base-expression is a class' typed one.

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