1. 28 Dec, 2009 3 commits
  2. 27 Dec, 2009 3 commits
  3. 26 Dec, 2009 7 commits
  4. 25 Dec, 2009 1 commit
  5. 24 Dec, 2009 9 commits
    • PR c++/41305, DR 384 · db10df3d
      	PR c++/41305, DR 384
      	* name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only
      	and arg_assoc_bases.
      	(friend_of_associated_class_p): Remove.
      	(arg_assoc_namespace): Don't call it.
      	(arg_assoc_template_arg): Use arg_assoc_class_only for member
      	template context.
      	(arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly.
      
      	* name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly.
      
      From-SVN: r155461
      Jason Merrill committed
    • re PR target/42457 (AVR fails to build with other than C family languages) · 17fad361
      2009-12-24  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
      
      	PR target/42457
      	* config/avr/avr.c (avr_extra_arch_macro): Remove static.
      	(avr_cpu_cpp_builtins): Remove.
      	* config/avr/avr.h (avr_extra_arch_macro): Add prototype.
      	* config/avr/avr-c.c: New File.
      	(avr_cpu_cpp_builtins) : Add.
      	* config/avr/t-avr: Add make information for avr-c.
      	* config.gcc (avr-*-*): Include avr-c.o as c and cpp object.
      
      From-SVN: r155460
      Andy Hutchinson committed
    • PR target/35013, 27192 · 846428f1
      2009-12-24  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
      
      	PR target/35013, 27192
      	* config/avr/avr.c (print_operand_address): Print correct program
      	memory address.
      	Add warning for large device offset addresses.
      	(avr_assemble_integer): Ditto.
      	(print_operand): Add warnings for incorrect addressing.
      	(out_movqi_r_mr): Tag assembler with new address codes.
      	(out_movhi_r_mr): Ditto.
      	(out_movsi_r_mr): Ditto.
      	(out_movqi_mr_r): Ditto.
      	(out_movhi_mr_r): Ditto.
      	(out_movsi_mr_r): Ditto.
      	* config/avr/predicates.md (text_segment_operand): New predicate.
      	* config/avr/avr.md (jump): Tag assembler with new address codes.
      	(call_insn): Ditto.
      	(call_value_insn): Ditto.
      	(*tablejump_lib): Ditto.
      	(*cbi): Ditto.
      	(*sbi): Ditto.
      	(indirect_jump): New define_expand.
      	(jcindirect_jump): New pattern for constant expression jump.
      	(njcindirect_jump): Renamed old indirect_jump.
      
      From-SVN: r155459
      Andy Hutchinson committed
    • [multiple changes] · a1b418cb
      2009-12-24  Edward Smith-Rowland  <3dw4rd@verizon.net>
      	    Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/bitset (bitset<>::bitset(const char*)): Add.
      
      2009-12-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
      	    Edward Smith-Rowland  <3dw4rd@verizon.net>
      
      	* testsuite/23_containers/bitset/cons/2.cc: New.
      
      From-SVN: r155458
      Paolo Carlini committed
    • functional (bind): Avoid invalid instantiations for bind<void>. · c5a23752
      2009-12-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/std/functional (bind): Avoid invalid instantiations
      	for bind<void>.
      	* testsuite/20_util/bind/conv_result.cc: New.
      
      From-SVN: r155457
      Jonathan Wakely committed
    • stl_deque.h (copy_backward(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare. · 0800b8ea
      2009-12-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_deque.h (copy_backward(_Deque_iterator,
      	_Deque_iterator, _Deque_iterator), move_backward(_Deque_iterator,
      	_Deque_iterator, _Deque_iterator)): Declare.
      	* include/bits/deque.tcc: Implement the latter.
      	* testsuite/performance/25_algorithms/
      	copy_backward_deque_iterators.cc: New.
      	* testsuite/25_algorithms/move_backward/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_backward/deque_iterators/1.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      From-SVN: r155455
      Paolo Carlini committed
    • store-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a… · b114d73a
      store-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a loop over basic blocks.
      
      	* store-motion.c (build_store_vectors): Clear regs_set_in_block at
      	the start of a loop over basic blocks.
      
      From-SVN: r155454
      Steven Bosscher committed
    • re PR target/40887 (GCC generates suboptimal code for indirect function calls on ARM) · 0986ef45
      Fix PR target/40887
      
      
      
      2009-12-24  Julian Brown  <julian@codesourcery.com>
                  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              PR target/40887
      
              * config/arm/arm.c (output_call_mem): Remove armv5 support.
              * config/arm/arm.md (*call_mem): Disable for armv5. Add note.
              (*call_value_mem): Likewise.
      
      
              PR target/40887
      
              * gcc.target/gcc.arm/pr40887.c: New test.
      
      Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
      
      From-SVN: r155453
      Julian Brown committed
    • Daily bump. · 0b8a1859
      From-SVN: r155447
      GCC Administrator committed
  6. 23 Dec, 2009 17 commits
    • Fixed ChangeLog entry. · b67d99f8
      From-SVN: r155434
      Cary Coutant committed
    • 5.cc: Move... · a1ebe9ac
      2009-12-23  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/25_algorithms/copy/5.cc: Move...
      	* testsuite/25_algorithms/copy/deque_iterators/1.cc: ... here.
      	* testsuite/25_algorithms/move/2.cc: Move...
      	* testsuite/25_algorithms/move/deque_iterators/1.cc: ... here.
      
      From-SVN: r155433
      Paolo Carlini committed
    • stl_deque.h (copy(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare. · e2bf2007
      2009-12-23  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_deque.h (copy(_Deque_iterator, _Deque_iterator,
      	_Deque_iterator), move(_Deque_iterator, _Deque_iterator,
      	_Deque_iterator)): Declare.
      	* include/bits/deque.tcc: Implement the latter.
      	* testsuite/performance/25_algorithms/copy_deque_iterators.cc: New.
      	* testsuite/25_algorithms/move/2.cc: Likewise.
      	* testsuite/25_algorithms/copy/5.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line number.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      From-SVN: r155432
      Paolo Carlini committed
    • re PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: in… · 7f7211fb
      re PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954)
      
      	PR rtl-optimization/42475
      	* combine.c (make_compound_operation) <case SUBREG>: Use mode of
      	SUBREG_REG (x) instead of tem's mode.
      
      	* gcc.dg/pr42475.c: New test.
      
      From-SVN: r155430
      Jakub Jelinek committed
    • re PR debug/42454 (debug_ranges table contains empty range for unused .text… · 374b9cb8
      re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)
      
      	PR debug/42454
      	* dwarf2out.c (add_ranges_by_labels_to_AT_range_list): New function.
      	(dwarf2out_finish): Call add_ranges_by_labels_to_AT_range_list.
      
      	* gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges.
      
      Co-Authored-By: Cary Coutant <ccoutant@google.com>
      
      From-SVN: r155429
      Jakub Jelinek committed
    • re PR target/42093 (Compressed switch tables for Thumb2 have signed offsets) · 83c3a2d8
      Fix PR target/42093
      
      
      2009-12-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              PR target/42093
              * config/arm/arm.h (CASE_VECTOR_PC_RELATIVE): Fix macro usage
              to TARGET_THUMB1.
              (CASE_VECTOR_SHORTEN_MODE): Allow signed offsets 
              only for TARGET_THUMB1.
      
      2009-12-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              PR target/42093
              * gcc.target/arm/pr42093.c: New test.
      
      From-SVN: r155428
      Ramana Radhakrishnan committed
    • Pass floating point constant moves to integer registers · 07422036
      as mov immediates for Thumb1.
      
      
      2009-12-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              PR target/40670
              * config/arm/arm.md: Split for Thumb1 as well.
      
              * gcc.target/arm/pr40670.c: New test.
      
      From-SVN: r155427
      Ramana Radhakrishnan committed
    • 20000715-1.c: Remove target selector. · 9c419ba8
      	* gcc.target/alpha/20000715-1.c: Remove target selector.
      	* gcc.target/alpha/20011018-1.c: Ditto.
      	* gcc.target/alpha/980217-1.c: Ditto.
      	* gcc.target/alpha/asm-1.c: Ditto.
      	* gcc.target/alpha/base-1.c: Ditto.
      	* gcc.target/alpha/base-2.c: Ditto.
      	* gcc.target/alpha/cix-1.c: Ditto.
      	* gcc.target/alpha/cix-2.c: Ditto.
      	* gcc.target/alpha/max-1.c: Ditto.
      	* gcc.target/alpha/max-2.c: Ditto.
      
      From-SVN: r155426
      Uros Bizjak committed
    • Add missing testcases. · 1b3abda8
      2009-12-23  Sebastian Pop  <sebpop@gmail.com>
      
      	* g++.dg/graphite/id-1.C: New.
      	* g++.dg/graphite/pr41305.C: New.
      	* gcc.dg/graphite/id-16.c: New.
      	* gcc.dg/graphite/interchange-10.c: New.
      	* gcc.dg/graphite/interchange-11.c: New.
      	* gcc.dg/graphite/interchange-mvt.c: New.
      	* gcc.dg/graphite/pr40281.c: New.
      	* gcc.dg/graphite/run-id-2.c: New.
      	* gcc.dg/graphite/scop-dsyr2k.c: New.
      	* gcc.dg/graphite/scop-dsyrk.c: New.
      	* gcc.dg/graphite/scop-mvt.c: New.
      	* gcc.dg/graphite/scop-sor.c: New.
      	* gfortran.dg/graphite/id-18.f90: New.
      	* gfortran.dg/graphite/interchange-3.f90: New.
      	* gfortran.dg/graphite/pr42050.f90: New.
      
      	* testsuite/libgomp.graphite/pr4118.c: New.
      
      From-SVN: r155424
      Sebastian Pop committed
    • re PR middle-end/42180 (compiling induct.f90 with -ffast-math -O2… · a84a556d
      re PR middle-end/42180 (compiling induct.f90 with  -ffast-math -O2 -fgraphite-identity ICEs gfortran)
      
      Fix PR42180.
      
      2009-12-18  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42180
      	* graphite-sese-to-poly.c (follow_ssa_with_commutative_ops): Handle
      	GIMPLE_CALL.
      
      	* testsuite/gfortran.dg/graphite/pr42180.f90: Add compile flags.
      
      From-SVN: r155423
      Sebastian Pop committed
    • re PR middle-end/42180 (compiling induct.f90 with -ffast-math -O2… · b147df0b
      re PR middle-end/42180 (compiling induct.f90 with  -ffast-math -O2 -fgraphite-identity ICEs gfortran)
      
      Fix PR42180.
      
      2009-12-18  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42180
      	* graphite-sese-to-poly.c (split_reduction_stmt): Do not split blocks
      	that contain only one statement.
      
      From-SVN: r155422
      Sebastian Pop committed
    • re PR middle-end/42393 ([graphite] internal compiler error: in check_loop_closed_ssa_use) · ce20f9d6
      Fix PR42393.
      
      2009-12-17  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42393
      	* testsuite/gfortran.dg/graphite/pr42393.f90: New.
      
      From-SVN: r155421
      Sebastian Pop committed
    • re PR debug/42186 ([graphite] internal compiler error: verify_ssa failed) · d2a271ac
      Fix PR42186.
      
      2009-12-17  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42186
      	* testsuite/gfortran.dg/graphite/pr42186.f90: New.
      
      From-SVN: r155420
      Sebastian Pop committed
    • re PR tree-optimization/42205 ([graphite] internal compiler error: verify_ssa… · 403ebc7e
      re PR tree-optimization/42205 ([graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange)
      
      Fix PR42205.
      
      2009-12-17  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42205
      	* graphite-sese-to-poly.c (translate_scalar_reduction_to_array_for_stmt):
      	Insert the reduction copy in the same block as the phi node.
      	(follow_ssa_with_commutative_ops): Handle GIMPLE_NOPs.
      
      	* testsuite/gcc.dg/graphite/pr42205-1.c: New.
      	* testsuite/gcc.dg/graphite/pr42205-2.c: New.
      
      From-SVN: r155419
      Sebastian Pop committed
    • Fix PR42334: correct the update of the LST on loop interchange and distribution. · 070ba483
      2009-12-15  Sebastian Pop  <sebastian.pop@amd.com>
      
              PR middle-end/42178
              PR middle-end/42334
              * graphite-interchange.c (lst_perfect_nestify): Reset to NULL the LSTs
              that are empty.
              (lst_do_interchange_1): Renamed lst_interchange_select_inner.
              (lst_try_interchange): Reimplemented.
              (lst_interchange_select_inner): Same.
              (lst_do_interchange): Renamed lst_interchange_select_outer.
              Reimplemented.
              (scop_do_interchange): Update use of lst_interchange_select_outer.
      
              * graphite-interchange.c (lst_try_interchange): Do not increment the
              the OUTER index when there is no AFTER kernel.  Do not increment the
              OUTER index for after processing the AFTER kernel.
              (lst_interchange_select_inner): Call lst_try_interchange only on loops.
              (lst_interchange_select_outer): Do not pass in a pointer to the OUTER
              index.  Do not pass to lst_interchange_select_inner the OUTER index.
              (scop_do_interchange): Update use of lst_interchange_select_outer.
      
              * graphite-interchange.c (lst_try_interchange): Do not modify OUTER
              index.  Call lst_interchange_select_inner only once.
              (lst_interchange_select_inner): Update use of lst_try_interchange.
              (lst_interchange_select_outer): Update.
      
              * testsuite/g++.dg/graphite/pr42130.C: Add -fgraphite-identity.
              * testsuite/gcc.dg/graphite/block-0.c: Un-XFAILed.
              * testsuite/gcc.dg/graphite/pr42211.c: New.
              * testsuite/gfortran.dg/graphite/pr42334.f90: New.
      
              * testsuite/gfortran.dg/graphite/graphite.exp
              (DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all.
              * testsuite/gfortran.dg/graphite/interchange-1.f: Add comment.  Clean
              the graphite dump file.
              * testsuite/gfortran.dg/graphite/interchange-2.f: Same.
              * testsuite/gfortran.dg/graphite/pr42334-1.f: New.
      
      From-SVN: r155418
      Sebastian Pop committed
    • re PR middle-end/42181 ([graphite] -fgraphite-identity miscompiles air.f90) · 4b216ab0
      Fix PR42181.
      
      2009-12-14  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42181
      	* graphite-scop-detection.c (graphite_can_represent_scev): Handle more
      	carefully PLUS_EXPR, MINUS_EXPR, and MULT_EXPR.
      
      	* testsuite/gfortran.dg/graphite/pr42181.f90: New.
      
      From-SVN: r155417
      Sebastian Pop committed
    • re PR c++/42260 (ICE looking up template conversion operator) · 58326a56
      Fix PR c++/42260
      
      gcc/cp/ChangeLog:
      	PR c++/42260
      	* cp-tree.h (lookup_conversions): Add new bool parameter to
      	declaration.
      	* search.c (lookup_conversion): Use new bool parameter in
      	definition.
      	* call.c (add_builtin_candidates): Don't lookup template conversion
      	(convert_class_to_reference, build_user_type_conversion_1,
      	 build_op_call): Adjust.
      	* cvt.c (build_expr_type_conversion): Likewise
      
      gcc/testsuite/ChangeLog:
      	PR c++/42260
      	* conversion/cast2.C: New test.
      
      From-SVN: r155415
      Dodji Seketeli committed