This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Replacing tree level profiling by RTL level and disabling old loop when profiling for 4.1


> 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 or simply make flag
-fno-tree-based-profiling output warning that the feature is not
supposed to work in general (this was my plan originally).

Honza

> a loaded gun, with which they can shoot themselves in their own feet -- 
> it's giving them a gun that can only be used to commit masochastic podiatry.
> 
> -- 
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
> (916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]