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  <pa...@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  <pa...@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

Reply via email to