re PR fortran/57843 ([OOP] Type-bound assignment is resolved to non-polymorphic proce...
authorJanus Weil <janus@gcc.gnu.org>
Fri, 23 Aug 2013 16:43:15 +0000 (18:43 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 23 Aug 2013 16:43:15 +0000 (18:43 +0200)
commit4f7395ffa13bb498c010aad0f08d137a7f766a1d
treeb5bdf33b142993fad36639f8c2878604acab85c1
parentcf66452262a257dc3591df9b762f2b2b9162067f
re PR fortran/57843 ([OOP] Type-bound assignment is resolved to non-polymorphic procedure call)

2013-08-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/57843
* interface.c (gfc_extend_assign): Look for type-bound assignment
procedures before non-typebound.

2013-08-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/57843
* gfortran.dg/typebound_assignment_7.f90: New.

From-SVN: r201946
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_assignment_7.f90 [new file with mode: 0644]