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: [PATCH] Remove CALLER_SAVE_PROFITABLE since nobody use it now


On Mon, 18 Aug 2014, Richard Earnshaw wrote:

> Hmm, I'm not sure about this.  It might not be used at present, but on
> AArch64, with more call-clobbered registers than call-saved registers, I
> would expect this ought to be a win.  The fact that it isn't on today
> may say more about the way it works than the concept that it's the wrong
> thing to do in principle.

Nothing uses it - not just no targets defining it, but no code calling it.  
If you have a use in future for a target hook doing something suggested by 
the name of this macro, by all means add one - but there's no point at all 
in keeping the macro until then.  (It should of course be poisoned in 
system.h when removing it, as standard when removing target macros.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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