This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Patch: RAM-based heuristics for ggc-min-heapsize and ggc-min-expand


 > Richard Earnshaw <rearnsha@arm.com> writes:
 > 
 > > Wouldn't it make sense for the "gcc" driver program to determine these 
 > > values and pass them in as parameters to cc1?  Then compilations would be 
 > > repeatable across multiple machines since -v would show us what values 
 > > were in use.
 > 
 > I really don't like this idea.  It just adds complexity, and for what
 > benefit?  It's saving you a single printf.
 > - Geoffrey Keating <geoffk@geoffk.org>

I think the idea is that you'd get the info as part of the standard
bug report -v invocation.  I.e.

cc1 -fpreprocessed -O2 -g -blah -blah ... -param ggc-min-heapsize=x

and you would automatically pass it back when reproducing the bug.  If
we simply output the numbers with a printf then we have to teach
people new bug reporting and reproducing instructions cause they'd
have to gleen out and manually add these -param commands.

Ok?
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]