1. 22 Apr, 2010 1 commit
  2. 16 Apr, 2010 1 commit
  3. 15 Apr, 2010 2 commits
  4. 14 Apr, 2010 1 commit
  5. 11 Apr, 2010 2 commits
  6. 28 Feb, 2010 1 commit
  7. 10 Feb, 2010 3 commits
  8. 27 Jan, 2010 1 commit
  9. 26 Jan, 2010 1 commit
  10. 08 Jan, 2010 1 commit
  11. 30 Nov, 2009 1 commit
    • sh.c (sh_promote_prototypes): Make static. · d64728cf
      	* config/sh/sh.c (sh_promote_prototypes): Make static.
      	(sh_function_value, sh_libcall_value, sh_function_value_regno_p): New
      	functions.
      	(TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
      	* config/sh/sh.h: (FUNCTION_VALUE_REGNO_P): Redefine, use
      	sh_function_value_regno_p.
      	(FUNCTION_VALUE, LIBCALL_VALUE): Remove.
      	* config/sh/sh-protos.h (sh_function_value_regno_p): Declare.
      	(sh_promote_prototypes) : Remove.
      
      From-SVN: r154842
      Anatoly Sokolov committed
  12. 21 Nov, 2009 1 commit
  13. 28 Oct, 2009 2 commits
  14. 25 Oct, 2009 1 commit
  15. 21 Oct, 2009 1 commit
  16. 14 Oct, 2009 1 commit
    • sh.c (TARGET_BUILTIN_DECL): Define. · 1cc24576
      	* config/sh/sh.c (TARGET_BUILTIN_DECL): Define.
      	(struct builtin_description): Add fndecl field.
      	(bdesc): Remove const qualifier.  Update initializer.
      	(sh_media_init_builtins): Remove const qualifier for d.  Record
      	the result of add_builtin_function to the fndecl field.
      	(sh_builtin_decl): New.
      	(sh_media_builtin_decl): New.
      
      From-SVN: r152745
      Kaz Kojima committed
  17. 30 Sep, 2009 1 commit
    • config.gcc (sh-symbianelf): Replace definition of extra_objs with separate… · 3c8348d3
      config.gcc (sh-symbianelf): Replace definition of extra_objs with separate definitions of c_target_objs and...
      
              * config.gcc (sh-symbianelf): Replace definition of extra_objs
              with separate definitions of c_target_objs and cxx_target_objs.
              * config/sh/t-sh: Add rules to build symbian-cxx.o, symbian-c.o
              and symbian-base.o.
              * config/sh/sh.c (TARGET_CXX_INPUT_EXPORT_CLASS): Use
              sh_symbian_import_export_class.
              * config/sh/sh-protos.h: Fix names of exported symbian functions.
              * config/sh/symbian.c: Delete, moving code into...
              * config/sh/symbian-base.c: ... here
              * config/sh/symbian-c.c: ... and here
              * config/sh/symbian-cxx.c: ... and here.
      
      From-SVN: r152323
      Nick Clifton committed
  18. 22 Sep, 2009 1 commit
    • sh-protos.h (sh_initialize_trampoline): Remove. · 994322ef
              * config/sh/sh-protos.h (sh_initialize_trampoline): Remove.
              * config/sh/sh.c (TARGET_TRAMPOLINE_INIT): New.
              (TARGET_TRAMPOLINE_ADJUST_ADDRESS): New.
              (sh_trampoline_init): Rename from sh_initialize_trampoline;
              make static; adjust for target hook parameters.
              (sh_trampoline_adjust_address): New.
              * config/sh/sh.h (INITIALIZE_TRAMPOLINE): New.
              (TRAMPOLINE_ADJUST_ADDRESS): Move code to sh_trampoline_adjust_address.
      
      From-SVN: r152011
      Richard Henderson committed
  19. 16 Sep, 2009 1 commit
  20. 27 Aug, 2009 1 commit
  21. 22 Aug, 2009 1 commit
  22. 19 Aug, 2009 1 commit
    • method.c (use_thunk): Call free_after_compilation after assemble_end_function. · dc0c6451
      	* method.c (use_thunk): Call free_after_compilation after
      	assemble_end_function.
      
      	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Don't call
      	free_after_compilation.
      	* config/score/score7.c (score7_output_mi_thunk): Likewise.
      	* config/score/score3.c (score3_output_mi_thunk): Likewise.
      	* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
      	* config/mips/mips.c (mips_output_mi_thunk): Likewise.
      	* config/sh/sh.c (sh_output_mi_thunk): Likewise.
      	* config/m68k/m68k.c (m68k_output_mi_thunk): Likewise.
      	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
      
      From-SVN: r150938
      Jakub Jelinek committed
  23. 13 Aug, 2009 1 commit
  24. 12 Aug, 2009 2 commits
  25. 04 Aug, 2009 1 commit
  26. 03 Aug, 2009 2 commits
  27. 02 Aug, 2009 1 commit
  28. 01 Aug, 2009 1 commit
    • expr.c (store_constructor): Use promote_decl_mode. · cde0f3fd
      2009-04-17  Paolo Bonzini  <bonzini@gnu.org>
      
      	* expr.c (store_constructor): Use promote_decl_mode.  Remove
      	now write-only variable unsignedp.
      	(expand_expr_real_1): Use promote_decl_mode.
      	* expr.h (promote_function_mode, promote_decl_mode): New.
      	(promote_mode): Remove last argument.
      	* function.c (assign_temp): Drop last argument of promote_mode.
      	(assign_parm_find_data_types): Use promote_function_mode.
      	(assign_parm_setup_reg): Likewise.
      	(expand_function_end): Use promote_function_mode.
      	* calls.c (initialize_argument_information): Use promote_function_mode.
      	(precompute_arguments): Use promote_mode instead of checking if
      	only PROMOTE_FUNCTION_MODE is defined.
      	(expand_call): When making sibcall decisions, use promote_function_mode.
      	Below, remove an if for targetm.calls.promote_function_return and
      	and use promote_function_mode.
      	(emit_library_call_value_1): Use promote_function_mode, fix bug
      	where promote_mode was passed FOR_CALL == 0 for a return value in an
      	assertion.
      	* cfgexpand.c (expand_one_register_var): Use promote_decl_mode.
      	* explow.c (promote_function_mode, promote_decl_mode): New.
      	(promote_mode): Keep only the FOR_CALL == 0 case.
      	* combine.c (setup_incoming_promotion): Remove test of
      	promote_function_args.  Use promote_function_mode.
      	* stmt.c (expand_value_return): Use promote_decl_mode.
      	(expand_decl): Use promote_decl_mode.
      
      	* expr.c (store_constructor): Use promote_decl_mode.  Remove
      	now write-only variable unsignedp.
      	(expand_expr_real_1): Use promote_decl_mode.
      	* expr.h (promote_function_mode, promote_decl_mode): New.
      	(promote_mode): Remove last argument.
      	* function.c (assign_temp): Drop last argument of promote_mode.
      	(assign_parm_find_data_types): Use promote_function_mode.
      	(assign_parm_setup_reg): Likewise.
      	(expand_function_end): Use promote_function_mode.
      	* calls.c (initialize_argument_information): Use promote_function_mode.
      	(precompute_arguments): Use promote_mode instead of checking if
      	only PROMOTE_FUNCTION_MODE is defined.
      	(expand_call): When making sibcall decisions, use promote_function_mode.
      	Below, remove an if for targetm.calls.promote_function_return and
      	and use promote_function_mode.
      	(emit_library_call_value_1): Use promote_function_mode, fix bug
      	where promote_mode was passed FOR_CALL == 0 for a return value in an
      	assertion.
      	* cfgexpand.c (expand_one_register_var): Use promote_decl_mode.
      	* explow.c (promote_function_mode, promote_decl_mode): New.
      	(promote_mode): Keep only the FOR_CALL == 0 case.
      	* combine.c (setup_incoming_promotion): Remove test of
      	promote_function_args.  Use promote_function_mode.
      	* stmt.c (expand_value_return): Use promote_decl_mode.
      	(expand_decl): Use promote_decl_mode.
      
      	* explow.c (promote_function_mode): Just call the target hook.
      	* targhooks.c (default_promote_function_mode,
      	default_promote_function_mode_always_promote): New.
      	* targhooks.h (default_promote_function_mode,
      	default_promote_function_mode_always_promote): Declare.
      	* target.h (promote_function_args, promote_function_return): Remove.
      	(promote_function_mode): New.
      	* target-def.h (TARGET_PROMOTE_FUNCTION_ARGS,
      	TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      	(TARGET_PROMOTE_FUNCTION_MODE): New.
      	(TARGET_CALLS): Adjust.
      	* system.h (TARGET_PROMOTE_FUNCTION_ARGS,
      	TARGET_PROMOTE_FUNCTION_RETURN, PROMOTE_FUNCTION_MODE): Poison.
      
      	* config/s390/s390.h (PROMOTE_FUNCTION_MODE): Move...
      	* config/s390/s390.c (s390_promote_function_mode): ... here,
      	with pointer handling.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      
      	* config/sparc/sparc.h (PROMOTE_FUNCTION_MODE): Move...
      	* config/sparc/sparc.c (sparc_promote_function_mode): ... here,
      	with pointer handling.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      	
      	* config/sh/sh-protos.h (sh_promote_function_mode): New.
      	* config/sh/sh.c (sh_promote_function_mode): New.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      
      	* config/cris/cris.h (PROMOTE_FUNCTION_MODE): Move...
      	* config/cris/cris.c (cris_promote_function_mode): ... here.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_ARGS): Remove.
      
      	* config/mmix/mmix.h (PROMOTE_FUNCTION_MODE): Move...
      	* config/mmix/mmix.c (mmix_promote_function_mode): ... here.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_ARGS): Remove.
      
      	* config/arm/arm.h (PROMOTE_FUNCTION_MODE): Move...
      	* config/arm/arm.c (arm_promote_function_mode): ... here, without complex
      	type handling.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      
      	* config/pa/pa.c (pa_promote_function_mode): New.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define.
      	(TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      
      	* config/alpha/alpha.c (TARGET_PROMOTE_FUNCTION_ARGS,
      	TARGET_PROMOTE_FUNCTION_RETURN): Remove.
      	(TARGET_PROMOTE_FUNCTION_MODE): Define equivalently.
      	* config/xtensa/xtensa.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/iq2000/iq2000.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/picochip/picochip.c: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/score/score.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/ia64/ia64.c: Likewise (disabled though).
      
      	* config/frv/frv.h: Remove pointless remark.
      
      	* doc/tm.texi (PROMOTE_FUNCTION_MODE,
      	TARGET_PROMOTE_FUNCTION_ARGS,
      	TARGET_PROMOTE_FUNCTION_RETURN): Consolidate into...
      	(TARGET_PROMOTE_FUNCTION_MODE): ... this.
      
      From-SVN: r150336
      Paolo Bonzini committed
  29. 31 Jul, 2009 1 commit
    • sh.md (UNSPECV_SP_SWITCH_B): New. · 20e19db4
      * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
      (UNSPECV_SP_SWITCH_E): New.
      (sp_switch_1): Change to an unspec.
      (sp_switch_2): Change to an unspec.  Don't use post-inc when we
      replace $r15.
      * config/sh/sh.c (sh_expand_prologue): Use the constant pool to
      reference the new stack's address
      
      From-SVN: r150306
      DJ Delorie committed
  30. 21 Jul, 2009 1 commit
  31. 20 Jul, 2009 1 commit
  32. 09 Jul, 2009 1 commit
    • unwind-dw2-fde-darwin.c: Include dwarf2.h. · a80b0574
      gcc
      	* unwind-dw2-fde-darwin.c: Include dwarf2.h.
      	* config/mmix/mmix.c: Include dwarf2.h.
      	* config/rs6000/darwin-fallback.c: Include dwarf2.h.
      	* config/xtensa/unwind-dw2-xtensa.c: Include dwarf2.h.
      	* config/sh/sh.c: Include dwarf2.h.
      	* config/i386/i386.c: Include dwarf2.h.
      	* Makefile.in (DWARF2_H): Remove 'elf'.
      	* except.c: Include dwarf2.h.
      	* unwind-dw2.c: Include dwarf2.h.
      	* dwarf2out.c: Include dwarf2.h.
      	* unwind-dw2-fde-glibc.c: Include dwarf2.h.
      	* unwind-dw2-fde.c: Include dwarf2.h.
      	* dwarf2asm.c: Include dwarf2.h.
      gcc/ada
      	* raise-gcc.c: Include dwarf2h (unconditionally).
      include
      	* elf/dwarf2.h: Remove, renaming to...
      	* dwarf2.h: ... this.
      
      From-SVN: r149433
      Tom Tromey committed
  33. 06 Jul, 2009 1 commit
    • lib1funcs.h (FMOVD_WORKS): Only define if __FMOVD_ENABLED__ is defined. · 7a61cf6f
              * config.sh/lib1funcs.h (FMOVD_WORKS): Only define if
              __FMOVD_ENABLED__ is defined.
              * config/sh/sh.h
              (TARGET_FMOVD): Provide a default definition.
              (MASK_FMOVD): Likewise.
              (TARGET_CPU_CPP_BUILTINS): Define
              __FMOVD_ENABLED__ if TARGET_FMOVD is true.
              * config/sh/sh.md (movdf_i4): For alternative 0 use either one or
              two fmov instructions depending upon whether TARGET_FMOVD is
              enabled.
              (split for DF load from memory into register): Also handle
              MEMs which consist of REG+DISP addressing.
              (split for DF store from register to memory): Likewise.
              (movsf_ie): Always use single fp_mode.
              * config/sh/sh.c (sh_override_options): Do not automatically
              enable TARGET_MOVD for the SH2A when supporting doubles - leave
              that to the -mfmovd command line switch.
              (broken_move): Do not restrict fldi test to only the SH4 and SH4A.
              (fldi_ok): Always allow.
              * config/sh/sh.opt (mfmovd): Remove this switch.
              * doc/invoke.texi (-mfmovd): Remove documentation of this switch.
      
      Co-Authored-By: DJ Delorie <dj@redhat.com>
      
      From-SVN: r149283
      Nick Clifton committed