[Bug fortran/42680] [fortran-dev, Regression] ICE in gimplify_expr, at gimplify.c:7176

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 11 02:58:00 GMT 2010



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2010-01-11 02:58 -------
This patch, reverting only the change to interface.c, appears to fix the
problem.  No other regressions in testsuite.

Index: interface.c
===================================================================
--- interface.c (revision 155799)
+++ interface.c (working copy)
@@ -369,8 +369,7 @@
   if (derived1 != NULL && derived2 != NULL
       && strcmp (derived1->name, derived2->name) == 0
       && derived1->module != NULL && derived2->module != NULL
-      && (strcmp (derived1->module, derived2->module) == 0
-         || derived1->attr.vtype))
+      && strcmp (derived1->module, derived2->module) == 0)
     return 1;

   /* Compare type via the rules of the standard.  Both types must have


-- 


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



More information about the Gcc-bugs mailing list