1. 05 Aug, 2010 3 commits
    • move.h (forward): Update to N3092. · 5f1fd346
      2010-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/move.h (forward): Update to N3092.
      	(identity): Remove (US 92 is NAD).
      	* include/debug/set.h: Fix move constructor to simply use move.
      	* include/debug/unordered_map: Likewise.
      	* include/debug/multiset.h: Likewise.
      	* include/debug/vector: Likewise.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/string: Likewise.
      	* include/debug/list: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/profile/set.h: Likewise.
      	* include/profile/unordered_map: Likewise.
      	* include/profile/multiset.h: Likewise.
      	* include/profile/unordered_set: Likewise.
      	* include/profile/vector: Likewise.
      	* include/profile/deque: Likewise.
      	* include/profile/map.h: Likewise.
      	* include/profile/list: Likewise.
      	* include/profile/multimap.h: Likewise.
      	* include/ext/vstring.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/forward_list.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/unordered_map.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      	* include/bits/unordered_set.h: Likewise.
      	* include/bits/stl_bvector.h: Likewise.
      	* testsuite/20_util/identity/value.cc: Remove
      	* testsuite/20_util/identity/requirements/typedefs.cc: Likewise.
      	* testsuite/20_util/identity/requirements/explicit_instantiation.cc:
      	Likewise.
      
      From-SVN: r162898
      Paolo Carlini committed
    • re PR tree-optimization/45144 (SRA optimization issue of bit-field) · 36b86f4a
      	PR tree-optimization/45144
      	* tree-sra.c (type_consists_of_records_p): Return false
      	if the record contains bit-field.
      
      	testsuite/
      	PR tree-optimization/45144
      	* gcc.dg/tree-ssa/pr45144.c: New test.
      
      From-SVN: r162897
      Jie Zhang committed
    • Daily bump. · 370f330f
      From-SVN: r162896
      GCC Administrator committed
  2. 04 Aug, 2010 30 commits
  3. 03 Aug, 2010 7 commits
    • simplify-rtx.c (simplify_binary_operation_1): Try to simplify away NEG as… · 29b40d79
      simplify-rtx.c (simplify_binary_operation_1): Try to simplify away NEG as operand of a MULT by merging it with the other operand.
      
      	* simplify-rtx.c (simplify_binary_operation_1): Try to simplify away
      	NEG as operand of a MULT by merging it with the other operand.
      	* combine.c (make_compound_operation): Use trunc_int_for_mode when
      	generating a MULT with constant.  Canonicalize PLUS and MINUS involving
      	MULT.
      	* config/arm/constraints.md (M): Examine only 32 bits of a
      	HOST_WIDE_INT.
      	* config/arm/predicates.md (power_of_two_operand): Likewise.
      
      From-SVN: r162849
      Bernd Schmidt committed
    • re PR fortran/45159 (Unnecessary temporaries) · 15b71db3
      2010-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/45159
      	* dependency.c (gfc_deb_compare_expr):  Remove any integer
      	conversion functions to larger types from both arguments.
      	Remove handling these functions futher down.
      
      2010-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/45159
      	* gfortran.dg/dependency_30.f90:  New test.
      
      From-SVN: r162848
      Thomas Koenig committed
    • spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns. · 051de0eb
      	* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
      	non-NOTE insns.
      
      From-SVN: r162845
      Ulrich Weigand committed
    • ipa-split.c (struct split_point): Add split_part_set_retval. · 241a2b9e
      	* ipa-split.c (struct split_point): Add split_part_set_retval.
      	(find_retval): Forward declare.
      	(test_nonssa_use, mark_nonssa_use): Special case return by reference.
      	(consider_split): Compute current->split_part_set_retval.
      	(visit_bb): Do not look into return value.
      	(split_function): Handle !split_part_set_retval
      
      From-SVN: r162842
      Jan Hubicka committed
    • tree-sra.c (completely_scalarize_record): New parameter REF, create its own… · fc734382
      tree-sra.c (completely_scalarize_record): New parameter REF, create its own access->expr intead of using build_ref_for_offset.
      
      2010-08-03  Martin Jambor  <mjambor@suse.cz>
      
      	* tree-sra.c (completely_scalarize_record): New parameter REF, create
      	its own access->expr intead of using build_ref_for_offset.
      
      From-SVN: r162841
      Martin Jambor committed
    • re PR fortran/44584 (Invalid memory access with gfortran.dg/typebound_proc_15.f03) · aea18e92
      2010-08-03  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/44584
      	PR fortran/45161
      	* class.c (add_procs_to_declared_vtab1): Don't add erroneous procedures.
      	* resolve.c (resolve_tb_generic_targets): Check for errors.
      
      
      2010-08-03  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/44584
      	PR fortran/45161
      	* gfortran.dg/typebound_call_9.f03: Modified.
      	* gfortran.dg/typebound_generic_1.f03: Modified.
      
      From-SVN: r162840
      Janus Weil committed
    • alpha.h (SWITCH_TAKES_ARG): Define. · 1890bccc
      	* config/alpha/alpha.h (SWITCH_TAKES_ARG): Define.
      	* config/alpha/osf5.h (LIB_SPEC): Don't handle -a.
      	* config/bfin/bfin.h (ASM_SPEC, LINK_SPEC): Don't pass -G*
      	options.
      	* config/darwin.h (WORD_SWITCH_TAKES_ARG): Handle -iframework.
      	* config/ia64/ia64.h (SWITCH_TAKES_ARG): Define.
      	* config/iq2000/iq2000.h (SWITCH_TAKES_ARG): Remove.
      	* config/rs6000/sysv4.h (SWITCH_TAKES_ARG): Define using
      	DEFAULT_SWITCH_TAKES_ARG.
      	* config/rx/rx.opt (-patch=): Remove option.
      	* config/rx/rx.c (rx_handle_option): Don't handle OPT_patch_.
      	* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Handle -imultilib.
      	* doc/invoke.texi (RX Options): Remove -patch=.
      	* gcc.c (cc1_options): Pass -aux-info* instead of -a* options.
      	(option_map): Remove --profile-blocks, --quiet and --silent.
      
      ada:
      	* gcc-interface/lang-specs.h: Don't pass -a options.
      
      c-family:
      	* c.opt (-print-pch-checksum): Remove option.
      	* c-opts.c (c_common_handle_option): Don't handle
      	OPT_print_pch_checksum.
      
      From-SVN: r162838
      Joseph Myers committed