------- Comment #9 from janus at gcc dot gnu dot org  2010-01-14 22:59 -------
Another way to get rid of the error is:

Index: fortran/module.c
===================================================================
--- fortran/module.c    (revision 155865)
+++ fortran/module.c    (working copy)
@@ -4456,8 +4456,6 @@ read_module (void)
                 module_name);
     }

-  gfc_check_interfaces (gfc_current_ns);
-
   /* Now we should be in a position to fill f2k_derived with derived type
      extensions, since everything has been loaded.  */
   set_module_locus (&extensions);

This, however, causes regressions in interface_5.f90 and interface_8.f90.


-- 


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

Reply via email to