[PATCH 04/25] SPECIAL_REGNO_P

Joseph Myers joseph@codesourcery.com
Wed Sep 5 12:21:00 GMT 2018


On Wed, 5 Sep 2018, ams@codesourcery.com wrote:

> This patch creates a new macro SPECIAL_REGNO_P which disables regrename.  In
> other words, the register is fixed once allocated.

Creating new target macros is generally suspect - the presumption is that 
target hooks should be used instead, unless it's clear the macro is part 
of a group of very closely related macros that should all become hooks at 
the same time (e.g. if adding a new one of the set of *_TYPE macros for 
standard typedefs, a macro would probably be appropriate rather than 
making just the new one into a hook).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list