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]

Re: Warning patch for PDP11 target



  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


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