This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/48946] [OOP] Deferred Overloaded Assignment
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jan 2012 09:00:17 +0000
- Subject: [Bug fortran/48946] [OOP] Deferred Overloaded Assignment
- Auto-submitted: auto-generated
- References: <bug-48946-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48946
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-10 09:00:17 UTC ---
FIXED on the trunk (4.7).
Thanks for the report Andrew!
I think it was done so by the following commit.
Submitted patch: http://gcc.gnu.org/ml/fortran/2012-01/msg00026.html
Author: pault
Date: Thu Jan 5 21:15:52 2012
New Revision: 182929
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182929
Log:
2012-01-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/PR48946
* resolve.c (resolve_typebound_static): If the typebound
procedure is 'deferred' try to find the correct specific
procedure in the derived type operator space itself.
2012-01-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/PR48946
* gfortran.dg/typebound_operator_9.f03: This is now a copy of
the old typebound_operator_8.f03.
* gfortran.dg/typebound_operator_8.f03: New version of
typebound_operator_7.f03 with 'u' a derived type instead of a
class object.
Added:
trunk/gcc/testsuite/gfortran.dg/typebound_operator_9.f03
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/typebound_operator_8.f03