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: IRA patch: use ORDER_REGS_FOR_LOCAL_ALLOC


On Wed, 28 Apr 2010, Bernd Schmidt wrote:

> > Yes, I think it is better to rename the macro, e.g.
> > ORDER_REGS_FOR_ALLOC, because the current name is a misleading one.
> 
> >> Should I add a new target macro that decides whether to ignore those
> >> costs?
> >>
> >>    
> > Yes, probably introducing a new macro is a better solution.
> 
> How's this?

When renaming or removing target macros it's best to poison the old name 
in system.h.  This hasn't been done very consistently, but each such name 
poisoned helps anyone updating a port done for an older version with the 
old macro name.

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