This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32945] [4.3 regression] ICE with initialization expressions
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2007 14:42:15 -0000
- Subject: [Bug fortran/32945] [4.3 regression] ICE with initialization expressions
- References: <bug-32945-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dfranke at gcc dot gnu dot org 2007-07-31 14:42 -------
Regtesting:
Index: expr.c
===================================================================
--- expr.c (revision 127062)
+++ expr.c (working copy)
@@ -693,6 +693,10 @@ static match
check_specification_function (gfc_expr *e)
{
gfc_symbol *sym;
+
+ if (!e->symtree)
+ return MATCH_NO;
+
sym = e->symtree->n.sym;
/* F95, 7.1.6.2; F2003, 7.1.7 */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32945