1. 09 Feb, 2009 8 commits
  2. 08 Feb, 2009 3 commits
  3. 07 Feb, 2009 5 commits
    • thread (thread::id): Move definition inside thread. · d7afcd2b
      2009-02-06  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/thread (thread::id): Move definition inside thread.
      	Use native_handle_type. Remove this_thread::get_id friend.
      	Change __thread_data_ptr to __shared_base_ptr.
      	(thread::id::id(native_handle_type): Make public. Still explicit.
      	Use native_handle_type. Change _M_thread_id to _M_thread.
      	(thread::__thread_data_base): Rename to _Impl_base. Use id, change
      	_M_thread_handle to _M_id.
      	(thread::__thread_data): Rename to _Impl.
      	Fixup for renames.
      	(thread::_M_make_thread_data): Return derived type.
      	(thread::hardware_concurrency): Add definition for default case.
      	(thread::get_id): Now can define inline.
      	(thread): Change _M_thread_data to _M_data.
      	(this_thread::get_id): Now can define inline.
      	* src/thread.cc (__thread_proxy): Rename to
      	execute_native_thread_routine.
      	Fixup for other renames.
      	* testsuite/30_threads/thread/cons/assign_neg.cc: New.
      	* testsuite/30_threads/thread/cons/copy_neg.cc: New.
      	* testsuite/30_threads/thread/algorithm: Move to..
      	* testsuite/30_threads/thread/swap: ...this.
      	* testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
      	* testsuite/30_threads/thread/id/operators.cc: New.
      
      From-SVN: r144007
      Benjamin Kosnik committed
    • avr.c (avr_mcu_t): Add ata6289 device. · 5a7e237c
      	* config/avr/avr.c (avr_mcu_t): Add ata6289 device.
      	* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
      	* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
      
      From-SVN: r144006
      Anatoly Sokolov committed
    • re PR c++/35147 (ICE trying to expand an argument pack with zero arguments) · da1512ad
      /cp
      2009-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/35147
      	PR c++/37737
      	* cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Check TREE_VEC_LENGTH.
      
      /testsuite
      2009-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/35147
      	PR c++/37737
      	* g++.dg/cpp0x/vt-35147.C: New.
      	* g++.dg/cpp0x/vt-37737-1.C: Likewise.
      	* g++.dg/cpp0x/vt-37737-2.C: Likewise.
      
      From-SVN: r144001
      Paolo Carlini committed
    • re PR c/35434 (ICE with attribute alias) · feab5a67
      	PR c/35434
      	* c-common.c (handle_alias_attribute): Disallow attribute for
      	anything not a FUNCTION_DECL or VAR_DECL.
      
      testsuite:
      	* gcc.dg/attr-alias-4.c: New test.
      
      From-SVN: r143998
      Joseph Myers committed
    • Daily bump. · 7d073491
      From-SVN: r143996
      GCC Administrator committed
  4. 06 Feb, 2009 10 commits
  5. 05 Feb, 2009 11 commits
    • re PR c++/39106 (aliased to undefined symbol error with thunks) · e6e1c050
      	PR c++/39106
      	* cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
      	on the copied decl.
      
      	* g++.dg/opt/thunk3.C: New test.
      
      From-SVN: r143973
      Jakub Jelinek committed
    • re PR rtl-optimization/39110 (Revision 143939 breaks bootstrap on Linux/ia64) · 65a74b5d
      2009-02-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR rtl-optimization/39110
      	* rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
      	addresses, not aligned ones.
      
      From-SVN: r143971
      Paolo Bonzini committed
    • thread (__thread_data_base): Nest class in std::thread. · 8644ecf5
      2009-02-05  Chris Fairles  <cfairles@gcc.gnu.org>
                  Benjamin Kosnik  <bkoz@redhat.com>
      
              * include/std/thread (__thread_data_base): Nest class in std::thread.
              (__thread_data): Likewise.
              (__thread_data_ptr): Nest typedef in std::thread.
              * src/thread.cc (__thread_proxy): Qualify the above names.
              * config/abi/pre/gnu.ver: Remove unused exports.
      
      
      Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
      
      From-SVN: r143969
      Chris Fairles committed
    • Makefile.tpl (stage_last): Define $r and $s before using $(RECURSE_FLAGS_TO_PASS). · ee04b574
      * Makefile.tpl (stage_last): Define $r and $s before using
      $(RECURSE_FLAGS_TO_PASS).
      * Makefile.in: Regenerate
      
      From-SVN: r143967
      Andreas Schwab committed
    • 20080625-1.c: Skip for M32C. · 5b21d7b2
              * gcc.c-torture/compile/20080625-1.c: Skip for M32C.
              * gcc.c-torture/compile/limits-stringlit.c: Likewise.
              * gcc.dg/cdce1.c: Likewise.
              * gcc.dg/cpp/_Pragma6.c: Likewise.
              * g++.dg/cpp/_Pragma1.C: Likewise.
              * gcc.dg/utf32-2.c: Xfail for M32C.
              * gcc.dg/utf32-1.c: Likewise.
              * gcc.dg/utf32-3.c: Likewise.
              * gcc.dg/Wtype-limits.c: Add expected warning messages for 16-bit
              targets.
              * gcc.dg/Wtype-limits-Wextra.c: Likewise.
              * gcc.dg/utf32-4.c: Only run for 32-bit+ targets.
              * gcc.dg/Wconversion-5.c: Likewise.
              * gcc.dg/tree-ssa/data-dep-1.c: Likewise.
              * gcc.dg/tree-ssa/ldist-3.c: Likewise.
              * gcc.dg/tree-ssa/ldist-5.c: Likewise.
              * gcc.dg/utf-inc-init.c: Likewise.
              * gcc.dg/pr11492.c: Xfail for 16-bit targets.
              * gcc.dg/utf-array.c: Add expected warning messages for M32C.
              * gcc.dg/utf-array-short-wchar.c: Likewise.
              * gcc.dg/tree-ssa/pr33920.c: Expect a warning from all 16-bit targets.
              * gcc.dg/mallign.c: Use size_t instead of long.
      
      From-SVN: r143962
      Nick Clifton committed
    • pr31863.C: Generalize dg-timeout-factor. · bf9b2cc9
      	* g++.dg/torture/pr31863.C: Generalize dg-timeout-factor.
      
      From-SVN: r143958
      Uros Bizjak committed
    • re PR tree-optimization/39100 (-fstrict-aliasing miscompilation) · 08e14b2a
      2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
      	    Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/39100
      	* tree-ssa-structalias.c (do_ds_constraint): Actually do what the
      	comment says and add edges.
      
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r143951
      Daniel Berlin committed
    • unique_ptr.h: Remove private __this_type typedef. · 37d5c6ba
      2009-02-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/unique_ptr.h: Remove private __this_type typedef.
      	* include/bits/stl_vector.h: Remove private vector_type typedef.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Fix line numbers.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Same.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Same.
      	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
      	* testsuite/20_util/unique_ptr/assign/assign.cc: Same.
      
      From-SVN: r143949
      Benjamin Kosnik committed
    • re PR c/35435 (ICE with attribute tls_model in typedef) · 5006381c
      	PR c/35435
      	* c-common.c (handle_tls_model_attribute): Ignore attribute for
      	non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
      
      testsuite:
      	* gcc.dg/tls/diag-6.c: New test.
      
      From-SVN: r143948
      Joseph Myers committed
    • graphite.c (bb_in_sese_p, [...]): Moved. · b0789219
      2009-02-04  Tobias Grosser  <grosser@fim.uni-passau.de> 
      
      	* graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
      	sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
      	register_bb_in_sese, new_sese, free_sese): Moved.
      	(dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
      	outermost_loop_in_scop, build_scop_iteration_domain,
      	expand_scalar_variables_ssa_name, get_vdef_before_scop,
      	limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
      	Use loop_in_sese_p instead of loop_in_scop_p.
      	(new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
      	(new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
      	(scopdet_basic_block_info): Fix bug in scop detection.
      	(new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
      	eq_loop_to_cloog_loop): Remove.
      	(nb_loops_around_loop_in_scop, nb_loop
      	ref_nb_loops): Moved here...
      	* graphite.h (ref_nb_loops): ... from here.
      	(struct scop): Remove bbs_b bitmap and loop2cloog_loop.
      	(loop_domain_dim, loop_iteration_vector_dim): Remove.
      	(SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
      	* testsuite/gcc.dg/graphite/scop-19.c: New
      
      From-SVN: r143947
      Tobias Grosser committed
    • Daily bump. · d75ea2a5
      From-SVN: r143945
      GCC Administrator committed
  6. 04 Feb, 2009 3 commits
    • re PR rtl-optimization/37889 (SEGV, conditional execution proactively executed the false arm.) · 48e8382e
      2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
      	    Hans-Peter Nilsson  <hp@axis.com>
      
      	PR rtl-optimization/37889
      	* rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
      	Move offset handling from PLUS to before the switch.  Use new
      	arguments when considering SYMBOL_REFs too.
      	(rtx_addr_can_trap_p): Pass dummy offset and size.
      	(enum may_trap_p_flags): Remove.
      	(may_trap_p_1): Pass size from MEM_SIZE.
      
      	PR rtl-optimization/38921
      	* loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
      	* rtl.h (may_trap_after_code_motion_p): Delete prototype.
      	* rtlanal.c (may_trap_after_code_motion_p): Delete.
      	(may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
      
      
      Co-Authored-By: Hans-Peter Nilsson <hp@axis.com>
      
      From-SVN: r143939
      Paolo Bonzini committed
    • AVX Programming Reference (January, 2009) · 69349ea5
      gcc/
      
      2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	AVX Programming Reference (January, 2009)
      	* config/i386/sse.md (*vpclmulqdq): New.
      
      gcc/testsuite/
      
      2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	AVX Programming Reference (January, 2009)
      	* gcc.target/i386/avx-vpclmulqdq.c: New.
      	* gcc.target/i386/pclmul-avx-check.h: Likewise.
      
      	* gcc.target/i386/i386.exp (check_effective_target_vpclmul): New.
      
      	* gcc.target/i386/pclmulqdq.c (CHECK_H): New.
      	(TEST): Likewise.
      	Include CHECK_H instead of "pclmul-check.h".
      	(pclmul_test): Renamed to ...
      	(TEST): This.
      
      From-SVN: r143938
      H.J. Lu committed
    • re PR tree-optimization/38977 (bash no longer builds with profile-feedback) · b545e411
      	PR tree-optimization/38977
      	PR gcov-profile/38292
      	* calls.c (special_function_p): Disregard __builtin_
      	prefix.
      
      From-SVN: r143937
      Jakub Jelinek committed