This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Replacing tree level profiling by RTL level and disabling old loop when profiling for 4.1
> Jan Hubicka wrote:
> >>Jan Hubicka wrote:
> >>
> >>>Hi,
> >>>currently the RTL based profiling is in very poor shape.
> >>
> >>I have no objection to switching the default to be tree-based profiling,
> >>rather than RTL-based profiling. However, I think it would be much
> >>better if you would also remove all the RTL-based profiling code at that
> >>time, and, if you have not already, make the command-line interface
> >>previously used for RTL-based profiling work automatically for RTL-based
> >>profiling.
> >>
> >>You've said that RTL-based profiling is badly broken and will never be
> >>fixed. If so, then leaving it in the compiler is not only giving users
> >
> >As I said before, I am using RTL based edge profiling (not value
> >profiling) to catch profiling updating problems from time to time, so it
> >is still quite useful for me, however I can drop it completely and keep
> >the source in my local tree only
>
> I'd rather it be removed from the FSF sources.
OK, if there will be no complains, I will prepare patch removing RTL
level profiling entirely...
Honza
>
> --
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
> (916) 791-8304