This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/62536] ICE (segfault) for invalid END BLOCK statement
- From: "t56xjcu6dh at snkmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Jul 2015 01:12:41 +0000
- Subject: [Bug fortran/62536] ICE (segfault) for invalid END BLOCK statement
- Auto-submitted: auto-generated
- References: <bug-62536-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62536
Louis Krupp <t56xjcu6dh at snkmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |t56xjcu6dh at snkmail dot com
--- Comment #4 from Louis Krupp <t56xjcu6dh at snkmail dot com> ---
Created attachment 36038
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36038&action=edit
Proposed patch for 62536 and 66175
62536 and 66175 seem to be related (both deal with recovery from errors in
BLOCKs), so a patch that fixes both seems reasonable.
The change to decl.c cleans up nested BLOCKs, and the change to parse.c deals
with the possibility that a BLOCK might have been cleaned up.