r277443 - in /branches/gcc-9-branch/gcc: Change...

hubicka@gcc.gnu.org hubicka@gcc.gnu.org
Fri Oct 25 11:17:00 GMT 2019


Author: hubicka
Date: Fri Oct 25 11:17:38 2019
New Revision: 277443

URL: https://gcc.gnu.org/viewcvs?rev=277443&root=gcc&view=rev
Log:
Backport ggc_trim
	Backport from mainline

	2019-10-18  Jakub Jelinek  <jakub@redhat.com>
	PR middle-end/92153
	* ggc-page.c (release_pages): Read g->alloc_size before free rather
	than after it.

	2019-10-11  Jan Hubicka  <hubicka@ucw.cz>

	* ggc-page.c (release_pages): Output statistics when !quiet_flag.
	(ggc_collect): Dump later to not interfere with release_page dump.
	(ggc_trim): New function.
	* ggc-none.c (ggc_trim): New.
	* ggc.h (ggc_trim): Declare.

	* lto-partition.c (add_symbol_to_partition_1): Update.
	(undo_parittion): Update.

Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/ggc-none.c
    branches/gcc-9-branch/gcc/ggc-page.c
    branches/gcc-9-branch/gcc/ggc.h
    branches/gcc-9-branch/gcc/lto/ChangeLog
    branches/gcc-9-branch/gcc/lto/lto.c



More information about the Gcc-cvs mailing list