Use SIZE_AMOUNT macro for GGC memory allocation numbers.
authorMartin Liska <mliska@suse.cz>
Wed, 2 Sep 2020 12:30:16 +0000 (14:30 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 21 Sep 2020 08:09:26 +0000 (10:09 +0200)
commit79f4e20dd1280e6a44736070b0d5213f9a8f85d4
tree4cd45738168a0f369744fc4a704dea910f87e8d7
parent432c551b17d655823a4825855b4b966441c8cfb3
Use SIZE_AMOUNT macro for GGC memory allocation numbers.

gcc/ChangeLog:

* ggc-common.c (ggc_prune_overhead_list): Use SIZE_AMOUNT.
* ggc-page.c (release_pages): Likewise.
(ggc_collect): Likewise.
(ggc_trim): Likewise.
(ggc_grow): Likewise.
* timevar.c (timer::print): Likewise.

gcc/testsuite/ChangeLog:

* g++.dg/ext/timevar1.C: Prune more possible number values.
* g++.dg/ext/timevar2.C: Likewise.
gcc/ggc-common.c
gcc/ggc-page.c
gcc/testsuite/g++.dg/ext/timevar1.C
gcc/testsuite/g++.dg/ext/timevar2.C
gcc/timevar.c