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: [SPARC] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P


On 04/27/2011 11:13 AM, Anatoly Sokolov wrote:
>         * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS,
>         PRINT_OPERAND_PUNCT_VALID_P): Remove.
>         * config/sparc/sparc-protos.h (print_operand): Remove declaration.
>         * config/sparc/sparc.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P,
>         TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define.
>         (print_operand): Rename to...
>         (sparc_print_operand): ...this. Make static. Adjust
>         sparc_print_operand function call.
>         (sparc_print_operand_punct_valid_p, sparc_print_operand_address): New
>         functions.

Ok, except, 

> +  if(code == '#'

Space before (, re-indenting the rest of the condition to match.


r~


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