From 89480522221ee99f08da1abd7197b5b7c978d5c0 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 8 Sep 2004 11:28:06 +0200 Subject: cgraph.c (cgraph_remove_node): Free DECL_INITIAL field of node. * cgraph.c (cgraph_remove_node): Free DECL_INITIAL field of node. * cgraphunit.c (verify_cgraph): Don't verify on syntax errors. (cgraph_expand_function): Remove stale cgraph edges of currently compiled function; fix non-unit-at-a-time code copying function node for later reuse. From-SVN: r87181 --- gcc/cgraph.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cgraph.c') diff --git a/gcc/cgraph.c b/gcc/cgraph.c index a2cb174d767..6c93ac5f173 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -354,6 +354,7 @@ cgraph_remove_node (struct cgraph_node *node) { DECL_SAVED_TREE (node->decl) = NULL; DECL_STRUCT_FUNCTION (node->decl) = NULL; + DECL_INITIAL (node->decl) = error_mark_node; } } cgraph_n_nodes--; -- cgit v1.2.1