On Mon, 25 Jul 2011, Anatoly Sokolov wrote: > Hi. > > This patch removes obsolete PRINT_OPERAND, PRINT_OPERAND_ADDRESS and > PRINT_OPERAND_PUNCT_VALID_P macros from MMIX back end in the GCC and > introduces equivalent TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS and > TARGET_PRINT_OPERAND_PUNCT_VALID_P target hooks. > > Regression tested on mmix-knuth-mmixware. > > OK to install? > > * config/mmix/mmix.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, > PRINT_OPERAND_PUNCT_VALID_P): Remove macro. > * config/mmix/mmix-protos.h (mmix_print_operand_punct_valid_p, > mmix_print_operand, mmix_print_operand_address): Remove. > * config/mmix/mmix.c (mmix_print_operand_punct_valid_p): Make static. > Change return type to bool. Change argument type to bool. > (mmix_print_operand, mmix_print_operand_address): Make static. > (mmix_intval, mmix_output_condition): Change 'x' argument type > to const_rtx. > (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS, > TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define.
Ok, thanks! brgds, H-P