This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Replacing tree level profiling by RTL level and disabling old loop when profiling for 4.1
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Jul 2005 12:46:18 +0200
- Subject: Re: [RFC] Replacing tree level profiling by RTL level and disabling old loop when profiling for 4.1
- References: <20050716122927.GP12335@kam.mff.cuni.cz> <42DAC992.email@example.com>
> Jan Hubicka wrote:
> >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
> 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).
> 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
> (916) 791-8304