This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/62536] ICE (segfault) for invalid END BLOCK statement


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]