This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Patch: RAM-based heuristics for ggc-min-heapsize and ggc-min-expand
> Richard Earnshaw <email@example.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 <firstname.lastname@example.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.
Kaveh R. Ghazi email@example.com