1. 23 Dec, 2009 13 commits
    • 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
    • Daily bump. · 79e2daa9
      From-SVN: r155414
      GCC Administrator committed
  2. 22 Dec, 2009 15 commits
  3. 21 Dec, 2009 8 commits
    • run_doxygen: Update nested namespace exceptions. · 8d079e67
      2009-12-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* scripts/run_doxygen: Update nested namespace exceptions.
      
      From-SVN: r155380
      Benjamin Kosnik committed
    • decl.c (finish_function): Rename pre-genericize event. · 1c701f96
      2009-12-21  Brian Hackett  <bhackett1024@gmail.com>
      
      	* decl.c (finish_function): Rename pre-genericize event.
      
      2009-12-21  Brian Hackett  <bhackett1024@gmail.com>
      
      	* plugin.def: Rename pre-genericize event.
      	* plugin.c (register_callback, invoke_plugin_callbacks): Same.
      	* c-decl.c (finish_function): Invoke callbacks on above event.
      
      From-SVN: r155379
      Brian Hackett committed
    • PR libfortran/PR42422 · 78e36824
      2009-12-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR libfortran/PR42422
      	* gfortran.dg/list_read_10.f90:  New test.
      
      From-SVN: r155378
      Thomas Koenig committed
    • atomic: Update to N3000. · afd88205
      2009-12-20  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/atomic: Update to N3000.
      	* include/bits/atomic_0.h: Same.
      	* include/bits/atomic_2.h: Same.
      	* include/c_global/cstdatomic: Move...
      	* include/bits/atomic_base.h: ...here.
      	* include/c_compatibility/stdatomic.h: Just include atomic_base.h.
      	* include/precompiled/stdc++.h: Adjust includes.
      	* include/Makefile.am: Adjust files.
      	* include/Makefile.in: Regenerate.
      	* include/std/future: Adjust.
      	* src/atomic.cc: Adjust, adjust exports for compatibility.
      	* src/compatibility.cc: Move C++0x stuff...
      	* src/compatibility-c++0x.cc: ...here.
      
      	* doc/xml/manual/using.xml: Update.
      	* doc/xml/manual/status_cxx200x.xml: Update.
      	* doc/doxygen/user.cfg.in: Update.
      
      	* testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic_address/cons/single_value.cc: Same.
      	* testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
      	* testsuite/29_atomics/atomic_address/cons/default.cc: Same.
      	* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
      	* testsuite/29_atomics/atomic_address/requirements/
      	standard_layout.cc: Same.
      	* testsuite/29_atomics/atomic_address/requirements/trivial.cc: Same.
      	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic_integral/cons/single_value.cc: Same.
      	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
      	* testsuite/29_atomics/atomic_integral/cons/default.cc: Same.
      	* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: Same.
      	* testsuite/29_atomics/atomic_integral/cons/direct_list.cc: Same.
      	* testsuite/29_atomics/atomic_integral/requirements/
      	standard_layout.cc: Same.
      	* testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/
      	integral_assignment.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/increment.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/bitwise.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/decrement.cc: Same.
      	* testsuite/29_atomics/atomic_integral/operators/
      	integral_conversion.cc: Same.
      	* testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
      	* testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
      	* testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
      	* testsuite/29_atomics/atomic_flag/requirements/
      	standard_layout.cc: Same.
      	* testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
      	* testsuite/29_atomics/atomic_flag/clear/1.cc: Same.
      	* testsuite/29_atomics/atomic_flag/test_and_set/explicit.c
      	* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
      	* testsuite/29_atomics/atomic_flag/test_and_set/implicit.c
      	* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
      	* testsuite/29_atomics/headers/stdatomic.h/functions.c
      	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
      	* testsuite/29_atomics/atomic/cons/single_value.cc: Same.
      	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
      	* testsuite/29_atomics/atomic/cons/default.cc: Same.
      	* testsuite/29_atomics/atomic/cons/copy_list.cc: Same.
      	* testsuite/29_atomics/atomic/cons/direct_list.cc: Same.
      	* testsuite/29_atomics/atomic/requirements/explicit_instantiation/
      	1.cc: Same.
      	* testsuite/29_atomics/atomic/requirements/base_classes.cc: Same.
      	* testsuite/29_atomics/atomic/operators/integral_assignment.cc: Same.
      	* testsuite/29_atomics/atomic/operators/integral_conversion.cc: Same.
      	* testsuite/util/testsuite_common_types.h: Adjust.
      
      	* testsuite/29_atomics/headers/cstdatomic: Move and adjust...
      	* testsuite/29_atomics/headers/atomic: ...here.
      	* testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same.
      	* testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc: Same.
      	* testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc: Same.
      	* testsuite/29_atomics/headers/atomic/macros.cc: Same.
      
      	* testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Add.
      	* testsuite/29_atomics/atomic/cons/user_pod.cc: Add.
      
      From-SVN: r155377
      Benjamin Kosnik committed
    • re PR rtl-optimization/42429 (Miscompilation of 2fish on s390) · dcc1e1fa
      	PR rtl-optimization/42429
      	* reload.c (find_reloads_subreg_address): When adjusting mode of
      	MEM, update also MEM_SIZE if it is set.
      
      From-SVN: r155374
      Jakub Jelinek committed
    • configure.ac: Make i?86 build on FreeBSD and OpenBSD. · 938a483f
      2009-12-21  Andreas Tobler  <a.tobler@schweiz.org>
      
      	* configure.ac: Make i?86 build on FreeBSD and OpenBSD.
      	* configure: Regenerate.
      
      From-SVN: r155373
      Andreas Tobler committed
    • Always pass --32 to ia32 Linux assembler. · e0b0fd74
      2009-12-21  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR bootstrap/42345
      	* acinclude.m4 (gcc_GAS_FLAGS): New.
      	(gcc_GAS_CHECK_FEATURE): Use gcc_GAS_FLAGS.
      	* configure: Regenerated.
      
      From-SVN: r155372
      H.J. Lu committed
    • Daily bump. · 6ad31e07
      From-SVN: r155371
      GCC Administrator committed
  4. 20 Dec, 2009 3 commits
  5. 19 Dec, 2009 1 commit
    • Fix PR c++/42225, take 2 · e96ce650
      gcc/cp/ChangeLog:
      	PR c++/42225
      	* pt.c (push_template_decl_real): Set DECL_CONTEXT of template type
      	parms to their containing template decl.
      	* typeck.c (comp_template_parms_position): Split this from
      	structural_comptypes.
      	(incompatible_template_type_parms_p): Renamed
      	incompatible_dependent_typedefs_p into this. Change the function to
      	handle comparison between TEMPLATE_TYPE_PARMs only.
      	(structural_comptypes): Use comp_template_parms_position in
      	TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases.
      	Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case.
      	* mangle.c (decl_mangling_context): Template type parms don't have
      	a mangling context.
      	* tree.c (cp_set_underlying_type): Set type structural equality
      	only for TEMPLATE_TYPE_PARMs.
      
      gcc/testsuite/ChangeLog:
      	PR c++/42225
      	* g++.dg/template/typedef26.C: New test.
      
      From-SVN: r155363
      Dodji Seketeli committed