There may be memory leaks in ggc:
tree-tailcall.c: static tree m_acc, a_acc;
tree-ssa-sccvn.c: tree VN_TOP;
c-typeck.c: static tree constructor_max_index;
tree-ssa-phiopt.c: static tree condstoretemp;
tree-ssa-pre.c:
static tree pretemp;
static tree storetemp;
static tree prephitemp;
combine.c:
static rtx i2mod_old_rhs;
static rtx i2mod_new_rhs;
reg-stack.c:
static rtx not_a_num;
static rtx ix86_flags_rtx;
tree-ssa-structalias.c:
static tree anything_tree;
static tree nothing_tree;
static tree readonly_tree;
static tree escaped_tree;
static tree nonlocal_tree;
static tree callused_tree;
static tree storedanything_tree;
--
Summary: Possible memory leaks in ggc
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40151