1. 23 Dec, 2009 7 commits
    • 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 6 commits
    • 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
    • re PR lto/42401 (wrong-code with -flto) · b0ce048a
      2009-12-19  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/42401
      	* lto-streamer-out.c (tree_is_indexable): Local statics
      	are indexable.
      	(lto_output_tree_ref): Adjust assert.
      
      	* g++.dg/lto/20091219_0.C: New testcase.
      
      From-SVN: r155361
      Richard Guenther committed
    • re PR tree-optimization/42108 (50% performance regression) · d0ca0bcb
      2009-12-19  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/42108
      	* tree-ssa-sccvn.c (last_vuse_ptr): New variable.
      	(vn_reference_lookup_2): Update last seen VUSE.
      	(vn_reference_lookup_3): Avoid updating last seen VUSE after
      	translating.
      	(visit_reference_op_load): Use last seen VUSE from the first
      	lookup when entering into the table.
      
      	* gfortran.dg/pr42108.f90: New testcase.
      
      From-SVN: r155360
      Richard Guenther committed
    • Increase clock resolution for system_clock_8. · a8572b62
      From-SVN: r155359
      Janne Blomqvist committed
    • Makefile.in (PLUGIN_HEADERS): Add more headers. · 2a5e9d16
              * Makefile.in (PLUGIN_HEADERS): Add more headers.
      
              * tree-pass.h (GCC_PASS_LISTS): Define.
              (PASS_LIST_NO_all_lowering_passes): New enumeration value.
              (PASS_LIST_NO_all_small_ipa_passes): Likewise.
              (PASS_LIST_NO_all_regular_ipa_passes): Likewise.
              (PASS_LIST_NO_all_lto_gen_passes): Likewise.
              (PASS_LIST_NO_all_passes): Likewise.
              (PASS_LIST_NUM): Likewise.
              (gcc_pass_lists): Declare.
              * passes.c (gcc_pass_lists): Define.
      
      From-SVN: r155354
      Joern Rennecke committed
    • Daily bump. · dedf9c63
      From-SVN: r155353
      GCC Administrator committed
  6. 18 Dec, 2009 1 commit