PATCH to create pa-protos.h

Jeffrey A Law law@cygnus.com
Tue Jan 11 05:43:00 GMT 2000


  In message < 200001091821.NAA00949@caip.rutgers.edu >you write:
  > Tested by compiling cc1 configured as an i686-pc-linux-gnu ->
  > hppa1.1-hp-hpux10 cross compiler.
  > 
  > I found a few bugs in parameters passed to function calls.  Most were
  > ignored parameters, but a couple were not.  Check out the last call to
  > symbolic_operand in pa.md. :-)
  > 
  > 	Okay to install?
  > 
  > 		--Kaveh
  > 
  > 
  > 2000-01-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  > 
  > 	* pa-protos.h: New file.
  > 
  > 	* pa.c: Include recog.h and tm_p.h.
  > 	(compute_zdepwi_operands, compute_movstrsi_length,
  > 	remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
  > 	find_addr_reg, import_milli): Add static prototypes.
  > 	(pa_cpu_string, pa_arch_string): Constify a char*.
  > 	(legitimize_pic_address): Pass argument `mode' to pic_label_operand.
  > 	(read_only_operand): Add argument `mode'.
  > 	(singlemove_string, output_move_double, output_fp_move_double,
  > 	output_block_move, output_and, output_ior, output_ascii,
  > 	remove_useless_addtr_insns, milli_names, output_mul_insn,
  > 	output_div_insn, output_mod_insn, output_arg_descriptor,
  > 	output_cbranch, output_bb, output_bvb, output_dbra, ,
  > 	output_millicode_call, output_call, hppa_encode_label,
  > 	output_parallel_movb, output_parallel_addb): Constify a char*.
  > 	(hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
  > 	(output_parallel_addb): Remove extra arg to `constrain_operands'
  > 
  > 	* pa.h:  Move all prototypes to pa-protos.h.
  > 	(pa_cpu_string, pa_arch_string): Constify a char*.
  > 	(LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
  > 
  > 	* pa.md: Call `function_label_operand' with mode argument.
  > 	Likewise for `read_only_operand'.
  > 	Fix nesting of parens in call to `symbolic_operand'.
  > 	
  > 	* final.c (profile_after_prologue): Mark parameter `file' with
  > 	ATTRIBUTE_UNUSED.
This is great!  Thanks!

Please install this patch.

jeff

ps.  The symbolic_operand thing was amazing.



More information about the Gcc-patches mailing list