]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
decl.c (pop_cp_function_context): Don't call free on a NULL pointer.
authorMark Mitchell <mark@codesourcery.com>
Sat, 30 Oct 1999 23:32:55 +0000 (23:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 30 Oct 1999 23:32:55 +0000 (23:32 +0000)
commitd658cd4c6afb95502cd6a314065498c293e1feb2
treeeae3147603fa00ebe355662313326062fe4189c0
parent64658ada1f0eb82338866bf81ed0143d95c151c9
decl.c (pop_cp_function_context): Don't call free on a NULL pointer.

* decl.c (pop_cp_function_context): Don't call free on a NULL
pointer.
* semantics.c: Include ggc.h.
(expand_body): Do garbage-collection after processing a template
function.  Clear DECL_SAVED_TREE after generating RTL for a
function.
* Makefile.in (semantics.o): Depend on ggc.h.

From-SVN: r30279
gcc/cp/ChangeLog
gcc/cp/Makefile.in
gcc/cp/decl.c
gcc/cp/semantics.c