re PR fortran/49074 ([OOP] Defined assignment w/ CLASS arrays: Incomplete error message)
authorJanus Weil <janus@gcc.gnu.org>
Thu, 16 Jun 2011 21:45:26 +0000 (23:45 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 16 Jun 2011 21:45:26 +0000 (23:45 +0200)
commit67a7c837e95e85c607e55d2b72bfd4da43f0dd16
tree57cf30b4866ac8ab5fa871c4f1849062b8ecc116
parent45f86e0f6e1b0fdd6676848c7e929a4cbc85cd8f
re PR fortran/49074 ([OOP] Defined assignment w/ CLASS arrays: Incomplete error message)

2011-06-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49074
* interface.c (gfc_extend_assign): Propagate the locus from the
assignment to the type-bound procedure call.

2011-06-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49074
* gfortran.dg/typebound_assignment_3.f03: New.

From-SVN: r175113
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_assignment_3.f03 [new file with mode: 0644]