[Bug fortran/42677] [4.5 Regression] Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 14 22:59:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list