This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
Phil Edwards <phil at jaj dot com> writes:
> On Tue, Mar 04, 2003 at 09:29:04AM -0800, Zack Weinberg wrote:
> > Ignoring Ada for the moment, what if we only built the C front end,
> > optimizers, and back end during all three stages of a bootstrap? And
> > then came back to build the other front ends when we were done?
>
> I've always been confused why the C++ frontend was rebuilt multiple times
> during a bootstrap; actually assumed that it was done for some kind of odd
> binutils compatability or hysterical raisins. Please, if this is possible,
> let's do it. Bootstrap times will go down as a nice side-effect.
It's a test of the C compiler. It verifies that the un-optimised C
compiler generates the same code as the optimised C compiler.
--
- Geoffrey Keating <geoffk at geoffk dot org>