Commit 2c693a24 by Jerry DeLisle

re PR fortran/17741 (ICE in gfc_free_namespace, at fortran/symbol.c:2208)

2006-10-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/17741
	* decl.c (get_proc_name): Bump current namespace refs count.

From-SVN: r118149
parent 044928d6
2006-10-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/17741
* decl.c (get_proc_name): Bump current namespace refs count.
2006-10-29 Jakub Jelinek <jakub@redhat.com>
PR fortran/29629
......
......@@ -642,6 +642,7 @@ get_proc_name (const char *name, gfc_symbol ** result,
rc = gfc_get_symbol (name, gfc_current_ns->parent, result);
sym = *result;
gfc_current_ns->refs++;
if (sym && !sym->new && gfc_current_state () != COMP_INTERFACE)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment