Hi! On 2004-09-02T18:47:01+0200, Jan Hubicka wrote: > *** ggc-common.c 9 Aug 2004 20:19:29 -0000 1.88 > --- ggc-common.c 2 Sep 2004 16:08:50 -0000 > + /* When set, ggc_collect will do collection. */ > + bool ggc_force_collect; > *************** void dump_ggc_loc_statistics (void) > + ggc_force_collect = true; > + ggc_collect (); > *************** ggc_collect (void) > ! if (G.allocated < allocated_last_gc + min_expand) > ! if (G.allocated < allocated_last_gc + min_expand && !ggc_force_collect) > *** ggc.h 2 Sep 2004 02:39:15 -0000 1.68 > --- ggc.h 2 Sep 2004 16:08:50 -0000 > + /* When set, ggc_collect will do collection. */ > + extern bool ggc_force_collect; This has later acquired another use in the GCC selftests. I wonder if we shouldn't simplify the interface per the attached "Turn global 'ggc_force_collect' variable into 'force_collect' parameter to 'ggc_collect'"? OK to push to master branch after bootstrap testing? Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955