This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Making it easy to use -flto for bootstrap
On Jun 18, 2010, Richard Guenther <richard.guenther@gmail.com> wrote:
> The build-config should use WHOPR, not LTO.
I'm not sure I fully understand the difference, even after looking at
the docs. Clearly using -flto had some effect, and we have tests for
both -flto and -fwhopr, so I went ahead and installed this patch. I
suppose it would make sense to introduce bootstrap-whopr as well.
> So -fwhopr=N and -fno-whopr (but where and how to get N from?).
Perhaps some --with-whopr configure option could optionally set a
Makefile variable, which a bootstrap-whopr configuration could use. The
Makefile variable could always be overridden in the command line, of
course.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer