This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18923] segfault after subroutine name confusion
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2007 20:23:58 -0000
- Subject: [Bug fortran/18923] segfault after subroutine name confusion
- References: <bug-18923-9515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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