This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Warning patch for PDP11 target
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Warning patch for PDP11 target
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Fri, 02 Apr 1999 14:35:18 -0700
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SOL.3.95q.990301220930.7131A-100000@red.csi.cam.ac.uk>you wr
ite:
> This patch fixes some warnings with the PDP11 target.
>
> 1999-02-28 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * pdp11.c: Include "recog.h".
> (output_function_prologue): Remove unused variables `nregs', `i',
> `offset'.
> (output_function_epilogue): Remove unused variables
> `may_call_alloca', `nregs', `regno', `adjust_fp'.
> (output_ascii): Mark as returning void.
> (print_operand_address: Likewise.
> (simple_memory_operand): Remove unused variables `plus0', `plus1',
> `offset'.
> * pdp11.h: Declare functions `arith_operand',
> `const_immediate_operand', `expand_shift_operand',
> `legitimate_address_p', `notice_update_cc_on_set', `output_ascii',
> `output_function_epilogue', `output_function_prologue',
> `print_operand_address', `register_move_cost',
> `simple_memory_operand'.
> (HARD_REGNO_MODE_OK): Parenthesise `REGNO' arg.
> (REGNO_REG_CLASS): Likewise.
> * pdp11.md: Add explicit `int' to `static count' (in two places).
> (addhi3): Add explicit braces to avoid ambiguous else.
> (addqi3): Likewise.
> (ashlhi3): Likewise.
Thanks! Installed!
jeff