------- Comment #3 from dfranke at gcc dot gnu dot org  2008-01-24 20:00 -------
Index: data.c
===================================================================
--- data.c      (revision 131761)
+++ data.c      (working copy)
@@ -688,7 +688,7 @@ formalize_structure_cons (gfc_expr *expr
   c = expr->value.constructor;

   /* Constructor is already formalized.  */
-  if (c->n.component == NULL)
+  if (!c || c->n.component == NULL)
     return;

   head = tail = NULL;


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dfranke at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-11-25 03:04:31         |2008-01-24 20:00:17
               date|                            |


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

Reply via email to