------- Comment #1 from janus at gcc dot gnu dot org  2009-10-06 13:22 -------
The first error message can be trivially fixed by:

Index: interface.c
===================================================================
--- interface.c (Revision 152488)
+++ interface.c (Arbeitskopie)
@@ -626,6 +626,7 @@ gfc_check_operator_interface (gfc_symbol *sym, gfc
         - Types and kinds do not conform, and
         - First argument is of derived type.  */
       if (sym->formal->sym->ts.type != BT_DERIVED
+         && sym->formal->sym->ts.type != BT_CLASS
          && (r1 == 0 || r1 == r2)
          && (sym->formal->sym->ts.type == sym->formal->next->sym->ts.type
              || (gfc_numeric_ts (&sym->formal->sym->ts)

The other two may be a bit harder.


-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-06 13:22:14
               date|                            |


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

Reply via email to