public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] fortran/67758 -- Prevent ICE caused by misplaced COMMON
@ 2015-10-01  0:06 Steve Kargl
  2015-10-01  0:07 ` Steve Kargl
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Kargl @ 2015-10-01  0:06 UTC (permalink / raw)
  To: fortran, gcc-patches

Patch built and regression tested on x86_64-*-freebsd.
OK to commit?

The patch prevents the dereferencing of a NULL pointer
by jumping out of the cleanup of a list of COMMON blocks.

2015-09-30  Steven G. Kargl  <kargl@gcc.gnu.org>

	* symbol.c (gfc_restore_last_undo_checkpoint): Prevent ICE during
	cleanup of a misplaced COMMON.

2015-09-30  Steven G. Kargl  <kargl@gcc.gnu.org>

	* gfortran.dg/pr67758.f: New test.

-- 
Steve

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-10-03 19:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-01  0:06 [PATCH] fortran/67758 -- Prevent ICE caused by misplaced COMMON Steve Kargl
2015-10-01  0:07 ` Steve Kargl
2015-10-01 12:16   ` Mikael Morin
2015-10-01 13:29     ` Mikael Morin
2015-10-01 16:30       ` Steve Kargl
2015-10-02  9:28         ` Mikael Morin
2015-10-02 16:44           ` Steve Kargl
2015-10-03 10:13             ` Mikael Morin
2015-10-03 19:09               ` Steve Kargl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).