This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR18923 segfault after subroutine name confusion
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 5 Jun 2007 17:45:09 +0200
- Subject: Re: [patch, fortran] PR18923 segfault after subroutine name confusion
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=BRAwxt0+3UCxkC7oeu4O8eP1lJH0HE3dA8obcRfuiiBoBJRxhkI0vELmf7jWRcni/Z2+04NFQdRDDUB62rq0maFIDwhXPAeXLBYxmvqZv3oqbBCY063exkySaz6BGwXlgUiwo9M/2zpJZG/FhbZZKVjdCi2S0ZV29Gecll5pmwI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=Y9UijBwlRhrTtLoaMTWXNkZ5qEwRVjQMtNOe+2LWm2MxTJcEIShZ2JUOpkoOFN2CTUYDu/OfIKoR+MUU+fdorR8AP9+igiV69tHGGy3sp4BZLNL79G2LfLjTbBJpl7Y0zUKjmBWA1sGlOt+5Q6Qb3L5GEVsu7chCXUKsj9WSVMY=
- References: <4661DB53.2050405@verizon.net>
2007-06-02 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.
OK