This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37425] Fortran 2003: GENERIC bindings as operators



------- Comment #3 from domob at gcc dot gnu dot org  2009-08-17 18:55 -------
Subject: Bug 37425

Author: domob
Date: Mon Aug 17 18:55:30 2009
New Revision: 150856

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150856
Log:
2009-08-17  Daniel Kraft  <d@domob.eu>

        PR fortran/37425
        * resolve.c (get_checked_tb_operator_target): New routine to do checks
        on type-bound operators in common between intrinsic and user operators.
        (resolve_typebound_intrinsic_op): Call it.
        (resolve_typebound_user_op): Ditto.

2009-08-17  Daniel Kraft  <d@domob.eu>

        PR fortran/37425
        * gfortran.dg/typebound_operator_2.f03: Test for error with illegal
        NOPASS bindings as operators.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/typebound_operator_2.f03


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37425


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]