------- Comment #1 from kargl at gcc dot gnu dot org  2010-06-25 04:02 -------
Index: resolve.c
===================================================================
--- resolve.c   (revision 161047)
+++ resolve.c   (working copy)
@@ -12506,6 +12506,9 @@ resolve_equivalence (gfc_equiv *eq)
   int object, cnt_protected;
   const char *msg;

+  if (eq->expr->symtree->n.sym == NULL)
+    return;
+
   last_ts = &eq->expr->symtree->n.sym->ts;

   first_sym = eq->expr->symtree->n.sym;


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.4.5 4.5.1 4.6.0
      Known to work|                            |4.3.6
            Summary|ICE in resolve_equivalence()|[regression 4.4/4.5/4.6] ICE
                   |                            |in resolve_equivalence()


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

Reply via email to