[PATCH] hookize PRINT_OPERAND{,_ADDRESS,_PUNCT_VALID_P}
Joseph S. Myers
joseph@codesourcery.com
Sat Jun 5 10:37:00 GMT 2010
On Sun, 30 May 2010, Nathan Froyd wrote:
> The patch below moves PRINT_OPERAND{,_ADDRESS,_PUNCT_VALID_P} into a
> target hook. It also hookizes the x86 backend appropriately.
When converting a macro to a hook you need to update the documentation
of that macro in tm.texi to document the hook instead (with a note
remaining about the use of the macro on some ports, until all ports are
converted and the macro poisoned in system.h). (This doesn't apply for
target macros that are undocumented, but these ones are documented.) I
note tm.texi also refers to PRINT_OPERAND_ADDRESS in the documentation of
TARGET_LEGITIMATE_ADDRESS_P, and that also needs updating.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list