1. 09 Oct, 2010 26 commits
    • In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> · e2633f25
      In libobjc/:
      2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-sync.c: Include objc-private/common.h.
      
      From-SVN: r165242
      Nicola Pero committed
    • In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> · cf3822f1
      In libobjc/:
      2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-foreach.c: Include objc-private/common.h.
              * objc/deprecated/METHOD_NULL.h: New file.
              * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
              defining METHOD_NULL here.
              * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
              * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
              METHOD_NULL.
              ([-respondsTo:]): Same change.
              * objc/objc-api.h (method_get_imp): Converted it into a normal
              function so that we can hide the internals of struct objc_method.
              * sendmsg.c (method_get_imp): Implemented.
      
      From-SVN: r165241
      Nicola Pero committed
    • re PR rtl-optimization/33721 ([meta-bug] Gcc can't properly align stack variable) · 3a42502d
      	PR rtl-opt/33721
      	* explow.c (allocate_dynamic_stack_space): Add REQUIRED_ALIGN parm,
      	remove TARGET parm, convert KNOWN_ALIGN parm to SIZE_ALIGN.  Honor
      	required_align, tidy the code a bit.  Emit split_stack code in the
      	right place.  Mark the return value with the alignment properly.
      	* expr.h (allocate_dynamic_stack_space): Update decl.
      	* builtins.c (expand_builtin_apply): Update call to
      	allocate_dynamic_stack_space.
      	(expand_builtin_alloca): Likewise.  Remove TARGET parameter.
      	* calls.c (initialize_argument_information): Update call to
      	allocate_dynamic_stack_space.
      	(expand_call): Likewise.
      
      	* cfgexpand.c (get_decl_align_unit): Don't limit alignment.
      	Don't update_stack_alignment here.
      	(alloc_stack_frame_space): Make ALIGN unsigned.
      	(stack_var_cmp): Sort by alignment too.
      	(partition_stack_vars): Don't merge large and small alignment vars.
      	(expand_one_stack_var_at): Add BASE and BASE_ALIGN parameters.
      	Take care when BASE is not virtual_stack_vars_rtx.
      	(expand_stack_vars): Allocate dynamic stack space for large
      	alignment variables.
      	(expand_one_stack_var): Update all to expand_one_stack_var_at.
      	(defer_stack_allocation): True for large alignment vars.
      	(update_stack_alignment): Merge into ...
      	(expand_one_var): ... here.
      	(gimple_expand_cfg): Place code from expand_stack_vars.
      
      From-SVN: r165240
      Richard Henderson committed
    • pdp11.h (FUNCTION_ARG, [...]): Delete. · a5f4f531
      	* config/pdp11/pdp11.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/pdp11/pdp11.c (pdp11_function_arg): New function.
      	(pdp11_function_arg_advance): New function.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165239
      Nathan Froyd committed
    • libgcc2.h: Use __SIZEOF_LONG_LONG__ instead of LONG_LONG_TYPE_SIZE. · 4471aff6
      	* libgcc2.h: Use __SIZEOF_LONG_LONG__ instead of LONG_LONG_TYPE_SIZE.
      	* libgcc2.c: Likewise.
      
      From-SVN: r165238
      Nathan Froyd committed
    • misc.c: Delete prototypes. · c6282415
      	* gcc-interface/misc.c: Delete prototypes.
      	(gnat_init_options): Use local variable.
      	(lang_hooks): Move to the end of the file.
      
      From-SVN: r165237
      Eric Botcazou committed
    • In libobjc/: 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com> · 6176c2a9
      In libobjc/:
      2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc/objc-api.h (struct objc_super, Super, Super_t,
              objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
              objc_msg_forward2): Declarations moved to objc/message.h.  Include
              message.h here.
              * objc/message.h: Added such declarations; updated comments.
      
      From-SVN: r165236
      Nicola Pero committed
    • re PR lto/45956 (Promoted statics conflict) · 5074d72c
      2010-10-09  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/45956
      	* lto-streamer-in.c (lto_register_var_decl_in_symtab):
      	Properly check if a decl is an automatic var.
      
      	* gcc.dg/lto/20101009-2_0.c: New testcase.
      	* gcc.dg/lto/20101009-2_1.c: Likewise.
      	* gcc.dg/lto/20101009-2_2.c: Likewise.
      
      From-SVN: r165235
      Richard Guenther committed
    • re PR lto/45947 (ICE: tree code 'template_decl' is not supported in gimple… · 865e8e8e
      re PR lto/45947 (ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr)
      
      2010-10-09  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/45947
      	* tree.c (free_lang_data_in_cgraph): Properly walk the varpool.
      
      	* g++.dg/lto/20101009-1_0.C: New testcase.
      
      From-SVN: r165234
      Richard Guenther committed
    • mmix-protos.h (mmix_function_arg): Delete. · 9fb41e15
      	* config/mmix/mmix-protos.h (mmix_function_arg): Delete.
      	* config/mmix/mmix.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/mmix/mmix.c (mmix_function_arg): Rename to...
      	(mmix_function_arg_1): ...this.  Make static.  Take a const_tree and
      	bool arguments.
      	(mmix_function_arg): New function.
      	(mmix_function_incoming_arg): New function.
      	(mmix_function_arg_advance): New function.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_INCOMING_ARG): Define.
      	(TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165230
      Nathan Froyd committed
    • vax.h (FUNCTION_ARG, [...]): Delete. · 8f8a46ba
      	* config/vax/vax.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/vax/vax.c (vax_function_arg): New function.
      	(vax_function_arg_advance): New function.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165229
      Nathan Froyd committed
    • pa-protos.h (function_arg): Delete. · fd29bdaf
      	* config/pa/pa-protos.h (function_arg): Delete.
      	* config/pa/pa.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/pa/pa.c (function_arg): Rename to...
      	(pa_function_arg): ...this.  Make static.  Take a const_tree and
      	a bool.
      	(pa_function_arg_advance): New function.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165228
      Nathan Froyd committed
    • m68k.h (FUNCTION_ARG, [...]): Delete. · 13d3961c
      	* config/m68k/m68k.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/m68k/m68k.c (m68k_function_arg): New function.
      	(m68k_function_arg_advance): New function.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165227
      Nathan Froyd committed
    • avr-protos.h (function_arg): Delete. · 733bdfbd
      	* config/avr/avr-protos.h (function_arg): Delete.
      	(function_arg_advance): Delete.
      	* config/avr/avr.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/avr/avr.c (function_arg): Rename to...
      	(avr_function_arg): ...this.  Make static.  Take a const_tree and
      	a bool.
      	(function_arg_advance):	Rename to...
      	(avr_function_arg_advance): ...this.  Make static.  Take a
      	const_tree and a bool.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165226
      Nathan Froyd committed
    • alpha-protos.h (function_arg): Delete. · 0c3a9758
      	* config/alpha/alpha-protos.h (function_arg): Delete.
      	* config/alpha/alpha.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/alpha/vms.h (FUNCTION_ARG_ADVANCE): Delete.
      	* config/alpha/alpha.c (function_arg): Rename to...
      	(alpha_function_arg): ...this.  Make static.  Take a const_tree and
      	a bool.  Delete TARGET_ABI_UNICOSMK code.
      	(alpha_function_arg_advance): New function.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165225
      Nathan Froyd committed
    • mep-protos.h (mep_function_arg): Delete. · 0851c6e3
      	* config/mep/mep-protos.h (mep_function_arg): Delete.
      	(mep_function_arg_advance): Delete.
      	* config/mep/mep.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/mep/mep.c (mep_function_arg): Make static.  Take a
      	const_tree and a bool.
      	(mep_function_arg_advance): Likewise.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165224
      Nathan Froyd committed
    • re PR tree-optimization/45945 (ICE: verify_ssa failed: error: SSA_NAME_DEF_STMT… · e5160e93
      re PR tree-optimization/45945 (ICE: verify_ssa failed: error: SSA_NAME_DEF_STMT is wrong when using inline ASM with -flto/-fwhopr)
      
      2010-10-09  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/45945
      	* tree-ssa.c (execute_update_addresses_taken): Fixup LHS
      	scanning.
      
      	* gcc.dg/lto/20101009-1_0.c: New testcase.
      
      From-SVN: r165222
      Richard Guenther committed
    • re PR tree-optimization/45612 (Reference to undefined label building libada on Solaris 2/SPARC) · 1802378d
      	PR tree-optimization/45612
      	* ipa-split.c (test_nonssa_use): Remove bogus ATTRIBUTE_UNUSED.
      	Test LABEL_DECLs as well.  Fix formatting issues.
      	(verify_non_ssa_vars): Return false for a GIMPLE_LABEL statement
      	whose label is present in NON_SSA_VARS.
      	(mark_nonssa_use): Remove bogus ATTRIBUTE_UNUSED.  Handle LABEL_DECLs
      	as well.  Fix formatting issues.
      	(visit_bb): Fix typos and formatting issue.
      
      From-SVN: r165221
      Eric Botcazou committed
    • re PR tree-optimization/45950 (ICE segmentation fault compiling __udivdi3) · 64978ba3
      	PR tree-optimization/45950
      	* tree-ssa-sccvn.c (init_vn_nary_op_from_pieces): Consult length
      	before initializing vno->op.
      
      From-SVN: r165220
      Nathan Froyd committed
    • Fix more long lines · 2b3967f0
      From-SVN: r165219
      Eric Botcazou committed
    • Fix long lines · 40e74203
      From-SVN: r165218
      Eric Botcazou committed
    • config.gcc (bfin*-rtems*): Add newlib-stdint.h. · 1ddc8057
      2010-10-09  Ralf Corsépius <ralf.corsepius@rtems.org>
      
      	* config.gcc (bfin*-rtems*): Add newlib-stdint.h.
      	* config.gcc (lm32*-rtems*): Add newlib-stdint.h.
      
      From-SVN: r165216
      Ralf Corsepius committed
    • Support "andhi/andsi/anddi" as a zero-extending move. · c2c795ff
      gcc/
      
      2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/45913
      	* config/i386/i386.c (ix86_binary_operator_ok): Support
      	"andhi/andsi/anddi" as a zero-extending move.
      
      gcc/testsuite/
      
      2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/45913
      	* gcc.target/i386/pr45913.c: New.
      
      From-SVN: r165215
      H.J. Lu committed
    • Add AC_CANONICAL_SYSTEM to configure.ac. · 73d5e770
      2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR bootstrap/45951
      	* configure.ac: Add AC_CANONICAL_SYSTEM.
      	* configure: Regenerated.
      
      From-SVN: r165214
      H.J. Lu committed
    • builtins.c (fold_call_stmt): Don't copy gimple call arguments into a temporary array. · 8897c9ce
      	* builtins.c (fold_call_stmt): Don't copy gimple call arguments
      	into a temporary array.
      
      From-SVN: r165213
      Nathan Froyd committed
    • Daily bump. · 5bdf8742
      From-SVN: r165212
      GCC Administrator committed
  2. 08 Oct, 2010 14 commits
    • re PR fortran/45943 (gfortran.dg/streamio_16.f90: Fails under MinGW64 - probably \r\n vs \n issue) · 97de8e32
      2010-10-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/45943
      	* gfortran.dg/streamio_16.f90: Update test.
      
      From-SVN: r165208
      Jerry DeLisle committed
    • re PR rtl-optimization/45903 (unnecessary load of 32/64bit variable when only 8 bits are needed) · 9ad17c6a
      	PR tree-optimization/45903
      	* simplify-rtx.c (simplify_subreg): Optimize lowpart SUBREG
      	of *SHIFTRT of MEM.
      
      	* gcc.target/i386/pr45903.c: New test.
      
      From-SVN: r165202
      Jakub Jelinek committed
    • re PR rtl-optimization/45903 (unnecessary load of 32/64bit variable when only 8 bits are needed) · 509dd380
      	PR tree-optimization/45903
      	* simplify-rtx.c (simplify_subreg): Optimize lowpart SUBREG
      	of *SHIFTRT of MEM.
      
      	* gcc.target/i386/pr45903.c: New test.
      
      From-SVN: r165200
      Jakub Jelinek committed
    • future (_Result_alloc): Derive from _Alloc, exploit the Empty Base Optimization. · 0fd76d8e
      2010-10-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/future (_Result_alloc): Derive from _Alloc,
      	exploit the Empty Base Optimization.
      
      From-SVN: r165194
      Paolo Carlini committed
    • lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): Re-construct BLOCK_VARS. · bd39cb52
      2010-10-08  Richard Guenther  <rguenther@suse.de>
      
      	* lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers):
      	Re-construct BLOCK_VARS.
      	(lto_input_ts_block_tree_pointers): Do not stream BLOCK_VARS.
      	* lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise.
      	* tree.c (free_lang_data_in_block): Remove.
      	(free_lang_data_in_decl): Do not touch DECL_CONTEXT of non-PARM_DECLs.
      	Do not touch the BLOCK tree.
      	* expr.c (expand_expr_real_1): Allow externals.
      
      From-SVN: r165191
      Richard Guenther committed
    • lto-streamer-out.c (lto_output_ts_block_tree_pointers): Do not output BLOCK_SUBBLOCKS. · 8686c474
      2010-10-08  Richard Guenther  <rguenther@suse.de>
      
      	* lto-streamer-out.c (lto_output_ts_block_tree_pointers):
      	Do not output BLOCK_SUBBLOCKS.
      	* lto-streamer-in.c (lto_input_ts_block_tree_pointers):
      	Reserve exact space needed for BLOCK_NONLOCALIZED_VARS.
      	Re-construct BLOCK_SUBBLOCKS of parent block.
      	(lto_input_ts_binfo_tree_pointers): Reserve exact space needed
      	for BINFO_BASE_ACCESSES.
      
      From-SVN: r165190
      Richard Guenther committed
    • Makefile.in (TM_H): Include $(FLAGS_H) instead of options.h. · a75bfaa6
      	* Makefile.in (TM_H): Include $(FLAGS_H) instead of options.h.
      	(TREE_H): Include $(FLAGS_H) instead of options.h.
      	(opts-common.o): Depend on $(FLAGS_H) instead of options.h.
      	* c-objc-common.h (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      	* common.opt (flag_complex_method, flag_evaluation_order,
      	flag_ira_algorithm, flag_ira_region, flag_warn_unused_result): New
      	Variable declarations.
      	* configure.ac (tm_include_list): Include flags.h instead of
      	options.h.
      	* configure: Regenerate.
      	* flags.h: Condition out contents for target libraries.  Include
      	options.h at end of file.
      	(flag_complex_method, flag_ira_algorithm, flag_ira_region,
      	flag_evaluation_order, flag_warn_unused_result): Remove.
      	* gcc.c (main): Intialize global_options with global_options_init.
      	* langhooks-def.h (lhd_init_options_struct): Declare.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      	(LANG_HOOKS_INITIALIZER): Include LANG_HOOKS_INIT_OPTIONS_STRUCT.
      	* langhooks.c (lhd_init_options_struct): New.
      	* langhooks.h (struct lang_hooks): Add init_options_struct.
      	Update comment on init_options.
      	* optc-gen.awk: Generate initializer for global_options_init, not
      	global_options.
      	* opth-gen.awk: Condition out structure declarations for target
      	libraries.  Declare global_options_init.
      	* opts-common.c: Include flags.h instead of options.h.
      	* opts.c (flag_warn_unused_result): Remove.
      	(read_cmdline_options): Take gcc_options parameters.  Pass them to
      	read_cmdline_option.
      	(initial_lang_mask, initial_min_crossjump_insns,
      	initial_max_fields_for_field_sensitive,
      	initial_loop_invariant_max_bbs_in_loop): Define at file scope.
      	(init_options_once): New.  Split out of decode_options.
      	(init_options_struct): New.  Split out of decode_options.
      	(decode_cmdline_options_to_array_default_mask): New.
      	(default_options_optimization): New.  Split out of decode_options.
      	(decode_options): Move most code to other functions.  Update call
      	to read_cmdline_options.
      	(finish_options): New.  Split out of decode_options.
      	* opts.h (decode_options): Add gcc_options parameters.
      	(init_options_once, init_options_struct,
      	decode_cmdline_options_to_array_default_mask): New.
      	* toplev.c (flag_complex_method, flag_ira_algorithm,
      	flag_ira_region, flag_evaluation_order): Remove.
      	(general_init): Use global_options_init for initial flag values
      	for global_dc.
      	(toplev_main): Call init_options_once, init_options_struct,
      	lang_hooks.init_options_struct,
      	decode_cmdline_options_to_array_default_mask and
      	lang_hooks.init_option before decode_options.  Update arguments to
      	decode_options.
      	* tree.h: Include flags.h instead of options.h.
      
      ada:
      	* gcc-interface/misc.c (gnat_init_options_struct): New.  Split out
      	from gnat_init_options.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      c-family:
      	* c-common.c (parse_optimize_options): Call
      	decode_cmdline_options_to_array_default_mask before
      	decode_options.  Update arguments to decode_options.
      	* c-common.h (c_common_init_options_struct): Declare.
      	* c-opts.c (c_common_init_options_struct): New.  Split out from
      	c_common_init_options.
      
      cp:
      	* cp-objcp-common.h (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      fortran:
      	* f95-lang.c (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      	* gfortran.h (gfc_init_options_struct): Declare.
      	* options.c (gfc_init_options_struct): New.  Split out from
      	gfc_init_options.
      
      java:
      	* lang.c (java_init_options_struct): New.  Split out from
      	java_init_options.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      lto:
      	* lto-lang.c (lto_init_options): Change to
      	lto_init_options_struct.  Update parameters.
      	(LANG_HOOKS_INIT_OPTIONS): Don't define.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      From-SVN: r165189
      Joseph Myers committed
    • * gnat.dg/interface5.adb: Compile with warnings disabled. · e899aa16
      From-SVN: r165186
      Arnaud Charlet committed
    • * config/rx/rx.c (TARGET_EXCEPT_UNWIND_INFO): Define. · ab86687c
      From-SVN: r165184
      Nathan Froyd committed
    • sparc-protos.h (function_arg_advance, [...]): Delete. · 9adafb9f
      	* config/sparc/sparc-protos.h (function_arg_advance, function-arg):
      	Delete.
      	* config/sparc/sparc.h (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Delete.
      	(FUNCTION_INCOMING_ARG): Delete.
      	* config/sparc/sparc.c (scan_record_type): Const-ify tree argument.
      	(function_arg_slotno): Likewise.  Take bool arguments.
      	(sparc_arg_partial_bytes): Update call to it.
      	(function_arg): Rename to...
      	(sparc_function_arg_1): ...this.  Take bool arguments.
      	(sparc_function_arg, sparc_function_incoming_arg): New functions.
      	(function_arg_advance): Rename to...
      	(sparc_function_arg_advance): ...this.  Take bool argument.
      	(TARGET_FUNCTION_ARG_ADVANCE, TARGET_FUNCTION_ARG): Define.
      	(TARGET_FUNCTION_INCOMING_ARG): Define.
      
      From-SVN: r165183
      Nathan Froyd committed
    • bfin-protos.h (function_arg, [...]): Delete. · 74f41f02
      	* config/bfin/bfin-protos.h (function_arg, function_arg_advance):
      	Delete.
      	* config/bfin/bfin.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/bfin/bfin.c (function_arg_advance): Rename to...
      	(bfin_function_arg_advance): ...this.  Make static.  Take const_tree
      	and bool arguments.
      	(function_arg): Rename to...
      	(bfin_function_arg): ...this.  Make static.  Take const_tree and bool
      	arguments.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165182
      Nathan Froyd committed
    • score-protos.h (score_function_arg): Delete. · 3a2bd2f4
      	* config/score/score-protos.h (score_function_arg): Delete.
      	(score_function_arg_advance): Delete.
      	* config/score/score3.h (score3_function_arg_advance): Take a
      	const_tree and a bool.
      	(score3_function_arg): Likewise.
      	* config/score/score7.h (score7_function_arg_advance): Likewise.
      	(score7_function_arg): Likewise.
      	* config/score/score3.c (score3_classify_arg): Likewise.
      	(score3_function_arg_advance, score3_function_arg): Likewise.
      	* config/score/score7.c (score7_classify_arg): Likewise.
      	(score7_function_arg_advance, score7_function_arg): Likewise.
      	* config/score/score.c (score_function_arg_advance): Likewise.
      	(score_function_arg): Likewise.  De-const-ify `cum' argument.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165181
      Nathan Froyd committed
    • s390-protos.h (s390_function_arg_advance): Delete. · 3cb1da52
      	* config/s390/s390-protos.h (s390_function_arg_advance): Delete.
      	(s390_function_arg): Delete.
      	* config/s390/s390.h (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Delete.
      	* config/s390/s390.c (s390_function_arg_float): Take a const_tree.
      	(s390_function_arg_integer): Likewise.
      	(s390_function_arg_advance): Make static.  Take a const_tree and
      	a bool.
      	(s390_function_arg): Likewise.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165180
      Nathan Froyd committed
    • spu-protos.h (spu_function_arg): Delete. · 925ed112
      	* config/spu/spu-protos.h (spu_function_arg): Delete.
      	* config/spu/spu.h (FUNCTION_ARG): Delete.
      	(FUNCTION_ARG_ADVANCE): Move code to ...
      	* config/spu/spu.c (spu_function_arg_advance): New function.
      	(spu_function_arg): Make static.  Take a const_tree and a bool.
      	(spu_setup_incoming_varargs): Call spu_function_arg_advance.
      	(TARGET_FUNCTION_ARG, TARGET_FUNCTION_ARG_ADVANCE): Define.
      
      From-SVN: r165179
      Nathan Froyd committed