1. 22 Dec, 2009 11 commits
  2. 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
  3. 20 Dec, 2009 3 commits
  4. 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
  5. 18 Dec, 2009 11 commits
  6. 17 Dec, 2009 1 commit
    • dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use… · 1d6a3234
      dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of...
      
      	* dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs
      	use DW_OP_addr+DW_OP_stack_value instead of DW_OP_implicit_value.
      	(add_const_value_attribute): For CONST_STRING, SYMBOL_REFs and
      	LABEL_REFs use DW_OP_addr+DW_OP_stack_value DW_AT_location instead of
      	DW_AT_const_value.
      
      	* gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value,
      	but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value.  Add
      	-gno-strict-dwarf -fno-merge-debug-strings to dg-options.
      	* g++.dg/debug/dwarf2/const1.C: Likewise.
      	* g++.dg/debug/dwarf2/template-params-3.C: Likewise.
      	* g++.dg/debug/dwarf2/template-func-params-3.C: Likewise.
      
      From-SVN: r155327
      Jakub Jelinek committed