gimplify.c (gimplify_compound_lval): Move "stack" varray out of GGC.
authorJan Hubicka <jh@suse.cz>
Thu, 2 Sep 2004 18:32:49 +0000 (20:32 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 2 Sep 2004 18:32:49 +0000 (18:32 +0000)
commit0772402279c0161fe41784911b52c77e12803c42
tree6bf7983f3f95c6b710f8803d101e0114ac581cfb
parent35dc4c015a0b6e0558a892bbbcca2cc73e435f61
gimplify.c (gimplify_compound_lval): Move "stack" varray out of GGC.

* gimplify.c (gimplify_compound_lval): Move "stack" varray out of
GGC.

* ggc-page.c: include tree-flow.h.
(extra_order_size_table): Add stmt_ann_d.
(STAT_LABEL): Rename from ....
(LABEL): ... this one.
* Makefile.in (ggc-page.o): Add dependency.

* ggc-common.c (ggc_force_collect): New global variable.
(loc_description): Add fields "freed", "collected"
(ptr_hash): New static hash
(ptr_hash_entry): New structure.
(hash_ptr,eq_ptr,ggc_prune_ptr): New static functions.
(ggc_record_overhead): Take ptr argument, record it
(ggc_prune_overhead_list, ggc_free_overhead): New functions.
(cmp_statistics): Imrove sorting.
(dump_ggc_loc_statistics): Output newly collected statistics
* ggc-page.c (ggc_alloc): Update call of ggc_record_overhead
(ggc_free): Call ggc_free_overhead.
(ggc_collect): Force collection when asked to be forced.
(ggc_collect): Call ggc_prune_overhead_list.
* ggc.h (ggc_force_collect): Declare
(ggc_record_overhead): Update prototype.
(ggc_free_overhead, ggc_prune_overhead_list): Declare.

From-SVN: r86974
gcc/ChangeLog
gcc/Makefile.in
gcc/ggc-common.c
gcc/ggc-page.c
gcc/ggc.h
gcc/gimplify.c