http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50403
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Keywords| |ice-on-invalid-code
Last reconfirmed| |2011-09-15
CC| |janus at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |janus at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2011-09-15 11:41:06 UTC ---
This one is also obvious:
Index: gcc/fortran/symbol.c
===================================================================
--- gcc/fortran/symbol.c (revision 178876)
+++ gcc/fortran/symbol.c (working copy)
@@ -1945,6 +1945,8 @@
gfc_symtree *st;
int i;
+ if (!sym) return NULL;
+
if (sym->components != NULL || sym->attr.zero_comp)
return sym; /* Already defined. */
Btw: Where do you get this enormous amount of invalid Fortran code?