1. 25 Nov, 2005 25 commits
  2. 24 Nov, 2005 14 commits
    • expr.c (expand_expr_real_1): Fix error in last change. · 832942a8
      	* expr.c (expand_expr_real_1): Fix error in last change.
      
      From-SVN: r107471
      Bernd Schmidt committed
    • caller-save.c: (this_insn_sets): Move into: (save_call_clobbered_regs). · e30edd6c
      2005-11-24  J"orn Rennecke <joern.rennecke@st.com>
      
      	* caller-save.c: (this_insn_sets): Move into:
      	(save_call_clobbered_regs).
      	(mark_set_regs): Get this_insn_sets from data.
      
      	(save_call_clobbered_regs): Take sets of the return value by
      	sibcalls into account.
      
      From-SVN: r107469
      J"orn Rennecke committed
    • re PR target/21623 (ICE in reload_cse_simplify_operands, at postreload.c:391) · 8a99f6f9
      	PR target/21623:
      
      	* regclass.c (FORBIDDEN_INC_DEC_CLASSES): Remove
      	SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS tests.
      	(init_fake_stack_mems): Remove HAVE_SECONDARY_RELOADS test.
      	(memory_move_secondary_cost, init_reg_autoinc): Remove
      	SECONDARY_INPUT_RELOAD_CLASS / SECONDARY_OUTPUT_RELOAD_CLASS tests.
      	Replace SECONDARY_{IN,OUT}PUT_RELOAD_CLASS use with
      	secondary_reload_class call.
      	(copy_cost): Likewise.  Add new parameter prev_sri.  Changed all
      	callers.
      	* reload.c (entire file): Remove HAVE_SECONDARY_RELOADS checks.
      	(push_secondary_reload): Use secondary_reload target hook.
      	(secondary_reload_class, scratch_reload_class): New functions.
      	(push_reload): Remove SECONDARY_INPUT_RELOAD_CLASS and
      	SECONDARY_OUTPUT_RELOAD_CLASS tests.  Replace
      	SECONDARY_{IN,OUT}PUT_RELOAD_CLASS use with secondary_reload_class call.
      	* reload.h (HAVE_SECONDARY_RELOADS): Don't define nor test.
      	(secondary_reload_class, scratch_reload_class): Declare.
      	* reload1.c: Include target.h.
      	(reload_adjust_reg_for_temp): New function.
      	(reload_adjust_reg_for_icode): Likewise.
      	(choose_reload_regs): Remove SECONDARY_INPUT_RELOAD_CLASS test.
      	Replace SECONDARY_INPUT_RELOAD_CLASS use with secondary_reload_class
      	call.
      	(emit_input_reload_insns): Likewise.  Rewrite secondary reload checks
      	for inheritance.  Support case when both secondary & tertiary reloads
      	are for intermediate registers.
      	(emit_output_reload_insns): Replace SECONDARY_OUTPUT_RELOAD_CLASS use
              with secondary_reload_class call.  Support case when both secondary
      	& tertiary reloads are for intermediate registers.
      	* target-def.h (TARGET_SECONDARY_RELOAD): Provide default definition.
      	(TARGET_INITIALIZER) Add TARGET_SECONDARY_RELOAD.
      	* target.h (secondary_reload_info): New struct / typedef.
      	(struct gcc_target): New member secondary_reload.
      	* targhooks.c Include reload.h, optabs.h and recog.h.
      	(default_secondary_reload): New function.
      	* targhooks.h (default_secondary_reload): Declare.
      	* doc/tm.texi: Document secondary_reload target hook.  Update
      	description of SECONDARY_*RELOAD_CLASS and reload_{in,out}<mode>.
      	* doc/md.texi: Likewise.
      
      	* sh-protos.h (sh_secondary_reload): Declare.
      	* sh.c (TARGET_SECONDARY_RELOAD): Override.
      	(sh_secondary_reload): New function.
      	* sh.h (SECONDARY_INOUT_RELOAD_CLASS): Don't define.
      	(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
      	(SECONDARY_INPUT_RELOAD_CLASS): Likewise.
      	(HAVE_SECONDARY_RELOADS): Define.
      	* sh.md (reload_indf): Rename to:
      	(reload_indf__frn).
      	(reload_outdf): Rename to:
      	(reload_outdf__RnFRm).
      	(reload_insf): Rename to:
      	(reload_insf__frn).
      	(reload_insi): Rename to:
      	(reload_insi__i_fpul).
      
      From-SVN: r107468
      J"orn Rennecke committed
    • configure.ac: Require at least texinfo 4.4. · 1a598a97
      	* configure.ac: Require at least texinfo 4.4.
      	* configure: Regenerate.
      
      	* doc/install.texi (Tools/packages necessary for building GCC):
      	Update required version of texinfo to at least 4.4.
      	(Installing GCC: Building): Update required version of texinfo
      	to at least 4.4.
      	(Installing GCC: Final installation): Update required version
      	of texi2dvi to at least 4.4.
      	(Host/target specific installation notes for GCC): Update required
      	version of texinfo to at least 4.4.
      
      From-SVN: r107465
      Uros Bizjak committed
    • re PR c++/14024 (g++ isn't reporting aliasing warnings) · de9c56a4
      2005-11-24  Richard Guenther  <rguenther@suse.de>
      	Dirk Mueller <dmueller@suse.de>
      
      	PR c++/14024
      	* c-common.h (strict_aliasing_warning): Declare.
      	* c-common.c (strict_aliasing_warning): New function,
      	split out from ...
      	* c-typeck.c (build_c_cast): ... here.
      
      	* typeck.c (build_reinterpret_cast_1): Use it.
      
      	* g++.dg/warn/Wstrict-aliasing-1.C: New testcase.
      	* g++.dg/warn/Wstrict-aliasing-2.C: Likewise.
      	* g++.dg/warn/Wstrict-aliasing-3.C: Likewise.
      	* g++.dg/warn/Wstrict-aliasing-4.C: Likewise.
      	* g++.dg/warn/Wstrict-aliasing-5.C: Likewise.
      	* g++.dg/warn/Wstrict-aliasing-6.C: Likewise.
      
      Co-Authored-By: Dirk Mueller <dmueller@suse.de>
      
      From-SVN: r107459
      Richard Guenther committed
    • Get the logs in. · 349d23dd
      From-SVN: r107458
      Gabriel Dos Reis committed
    • optabs.c (expand_binop): Use swap_commutative_operands_with_target to order operands. · 665d18c6
      2005-11-24  Paolo Bonzini  <bonzini@gnu.org>
      
      	* optabs.c (expand_binop): Use swap_commutative_operands_with_target
      	to order operands.
      	(swap_commutative_operands_with_target): New.
      
      From-SVN: r107457
      Paolo Bonzini committed
    • gcse.c (hash_scan_set): Look through REG_EQUAL or REG_EQUIV notes also when doing PRE... · 90631280
      2005-11-24  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcse.c (hash_scan_set): Look through REG_EQUAL or REG_EQUIV notes
      	also when doing PRE, rather than only for global CPROP.
      
      From-SVN: r107456
      Paolo Bonzini committed
    • re PR target/24236 (gcc.dg/i386-sse-10.c fails on the mainline on x86_64-linux-gnu) · 9df540a8
              PR c++/24235
              * pt.c (check_instantiated_args): Reword diagnostic message about
              template argument involving local types.
      
      From-SVN: r107451
      Gabriel Dos Reis committed
    • machmode.h (CLASS_HAS_WIDER_MODES_P): New macro. · 86556d87
      	* machmode.h (CLASS_HAS_WIDER_MODES_P): New macro.
      	* optabs.c (expand_binop): Use CLASS_HAS_WIDER_MODES_P, improve
      	formatting.
      	(expand_twoval_unop): Likewise.
      	(widen_clz): Likewise.
      	(expand_parity): Likewise.
      	(expand_unop): Likewise.
      	(emit_cmp_and_jmp_insn_1): Likewise.
      	(prepare_float_lib_cmp): Likewise.
      
      From-SVN: r107450
      Ben Elliston committed
    • optabs.c (prepare_cmp_insn): Use SCALAR_FLOAT_MODE_P. · 94044657
      	* optabs.c (prepare_cmp_insn): Use SCALAR_FLOAT_MODE_P.
      	Remove unused `class' variable.
      
      From-SVN: r107449
      Ben Elliston committed
    • re PR c++/21667 (misleading warning about array subscription) · ff6b6641
      2005-11-23  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              PR c++/21667
              * c-typeck.c (build_array_ref): Avoid code duplicate.  Use
              common
              C/C++ diagnostic function warn_array_subscript_with_type_char.
              * c-common.h (warn_array_subscript_with_type_char): Declare.
              * c-common.c (warn_array_subscript_with_type_char): Define.
      
      cp/
      2005-11-23  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              PR c++/21667
              * typeck.c (build_array_ref): Avoid code duplicate.  Use
              common
              C/C++ diagnostic function warn_array_subscript_with_type_char.
      
      testsuite/
      2005-11-23  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              PR c++/21667
              * gcc.dg/Wchar-subscripts.c: New.
              * g++.dg/warn/Wchar-subscripts.C: Likewise.
      
      From-SVN: r107448
      Gabriel Dos Reis committed
    • PR libstdc++/24975 (basic_string) · 7fdc0307
      2005-11-23  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/24975 (basic_string)
      	* include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
      	strict-aliasing warnings.
      
      From-SVN: r107447
      Paolo Carlini committed
    • Daily bump. · 89de9021
      From-SVN: r107444
      GCC Administrator committed
  3. 23 Nov, 2005 1 commit