[Bug fortran/18923] segfault after subroutine name confusion
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 5 20:24:00 GMT 2007
------- Comment #21 from jvdelisle at gcc dot gnu dot org 2007-06-05 20:23 -------
Subject: Bug 18923
Author: jvdelisle
Date: Tue Jun 5 20:23:44 2007
New Revision: 125342
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125342
Log:
2007-06-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/18923
* parse.c (decode_statement): Don't call gfc_undo_symbols on
MATCH_ERROR
for ST_FUNCTION since it is called in reject_statement.
(parse_contained): If error, loop back after reject_statement and try
again. Free the namespace if an error occured.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/parse.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18923
More information about the Gcc-bugs
mailing list