This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make timevar phases mutually exclusive. (issue6302064)
On 6/13/12, Diego Novillo <dnovillo@google.com> wrote:
> On 12-06-13 08:46 , Diego Novillo wrote:
> > The LTO bits are fine. I would prefer if an FE maintainer takes
> > a second look over the other bits. Jason, Joseph?
>
> Incidentally, could you please test it with an LTO-enabled bootstrap?
>
> $ ../src/configure --with-build-config=bootstrap-lto
> --enable-languages=c++,fortran
> $ make profiledbootstrap
>
> If you cut and paste one of the -flto compiles you see during
> bootstrap, you can add -ftime-report to it to make sure that the
> LTO timers are properly setup.
I had to make a slight adjustment here. LTO runs as a front-end,
and the parse timers are automatically started for the front ends.
But LTO is not parsing. Rather than change every front end to
handle those timers, I turned the timers off and then back on again
within LTO.
Committed.
--
Lawrence Crowl