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 disablingold 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 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]