This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24549] ICE with invalid pseudo-declaration statement
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2006 09:07:27 -0000
- Subject: [Bug fortran/24549] ICE with invalid pseudo-declaration statement
- References: <bug-24549-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2006-05-10 09:07 -------
I can reproduce this ICE with mainline on i686-linux. I propose the following
patch:
Index: parse.c
===================================================================
--- parse.c (revision 113603)
+++ parse.c (working copy)
@@ -1292,7 +1292,7 @@
static void
reject_statement (void)
{
-
+ gfc_new_block = NULL;
gfc_undo_symbols ();
gfc_clear_warning ();
undo_new_statement ();
(see http://gcc.gnu.org/ml/fortran/2006-05/msg00122.html for details).
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot
|dot org |org
URL| |http://gcc.gnu.org/ml/fortra
| |n/2006-05/msg00122.html
Status|NEW |ASSIGNED
Keywords| |patch
Last reconfirmed|2006-01-27 20:52:12 |2006-05-10 09:07:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24549