1. 10 Feb, 2009 14 commits
    • Makefile.am (AM_MAKEFLAGS): Pass down datadir. · 1f542826
      	* Makefile.am (AM_MAKEFLAGS): Pass down datadir.
      	* Makefile.in: Regenerated.
      
      From-SVN: r144081
      Mark Mitchell committed
    • tree-parloops.c: Change license to GPLv3. · 6da7fc87
              * tree-parloops.c: Change license to GPLv3.
              * ipa-struct-reorg.c: Change license to GPLv3.
              * ipa-struct-reorg.h: Change license to GPLv3.
      
      From-SVN: r144072
      Nick Clifton committed
    • re PR c/39084 (ice on struct redefinition) · 914ff565
      	PR c/39084
      	gcc.dg/pr39084.c: New test.
      
      From-SVN: r144068
      Steve Ellcey committed
    • re PR c/39084 (ice on struct redefinition) · a03813c8
      	PR c/39084
      	* c-decl.c (start_struct): Return NULL on error.
      
      From-SVN: r144067
      Steve Ellcey committed
    • re PR middle-end/39124 (-fno-exceptions leads to a ICE) · 9b43d37b
      	PR middle-end/39124
      	* cfgloopmanip.c (remove_path): Call remove_bbs after
      	cancel_loop_tree, not before it.
      
      From-SVN: r144066
      Jakub Jelinek committed
    • re PR target/39139 (ICE with stringop and register var) · fc3103e7
      	PR target/39139
      	* function.h (struct function): Add has_local_explicit_reg_vars
      	bit.
      	* gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
      	VAR_DECLs were seen.
      	* tree-ssa-live.c (remove_unused_locals): Recompute
      	cfun->has_local_explicit_reg_vars.
      	* tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
      	copies or clearings if cfun->has_local_explicit_reg_vars.
      
      	* gcc.target/i386/pr39139.c: New test.
      
      From-SVN: r144065
      Jakub Jelinek committed
    • re PR target/39118 (x86_64 red zone violation) · dbf9ee15
      	PR target/39118
      	* config/i386/i386.c (expand_prologue): Emit blockage at the end
      	of function prologue when frame pointer is used to access
      	red zone area.
      
      From-SVN: r144063
      Uros Bizjak committed
    • * Makefile.in (clean): Don't remove makedepend$(EXEEXT). · f76f0edd
      From-SVN: r144062
      Joseph Myers committed
    • re PR middle-end/39127 (Invalid GIMPLE with OpenMP) · bdec4dc7
      2009-02-10  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/39127
      	* gimplify.c (gimple_regimplify_operands): Always look if
      	we need to create a temporary.
      
      From-SVN: r144061
      Richard Guenther committed
    • re PR tree-optimization/39132 (wrong code generated with -ftree-loop-disttribution) · 7cae94fc
      2009-02-10  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/39132
      	* tree-loop-distribution.c (todo): New global var.
      	(generate_memset_zero): Trigger TODO_rebuild_alias.
      	(tree_loop_distribution): Return todo.
      
      	* gcc.dg/torture/pr39132.c: New testcase.
      
      From-SVN: r144060
      Richard Guenther committed
    • re PR target/39119 (Update classification of aggregates with __m256) · a8800687
      gcc/
      
      2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/39119
      	* config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
      	(x86_64_reg_class_name): Removed.
      	(classify_argument): Return 0 if bytes > 32.  Return 0 if the
      	first one isn't X86_64_SSE_CLASS or any other ones aren't
      	X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
      	X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
      	is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
      	and 3 X86_64_SSEUP_CLASS.
      	(construct_container): Remove X86_64_AVX_CLASS.  Handle 4
      	registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
      
      gcc/testsuite/
      
      2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/39119
      	* gcc.target/x86_64/abi/avx/abi-avx.exp: New.
      	* gcc.target/x86_64/abi/avx/args.h: Likewise.
      	* gcc.target/x86_64/abi/avx/asm-support.S: Likewise.
      	* gcc.target/x86_64/abi/avx/avx-check.h: Likewise.
      	* gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise.
      	* gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise.
      	* gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise.
      	* gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise.
      
      From-SVN: r144058
      H.J. Lu committed
    • condition_variable (condition_variable): Remove _M_internal_mutex. · f7459b6c
      2009-02-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/condition_variable (condition_variable): Remove
      	_M_internal_mutex. Add private __native_type typedef.
      	* src/condition_variable.cc (condition_variable::notify_one):
      	Remove _M_internal_mutex use. Use typedef.
      	(condition_variable::notify_all): Same.
      	* include/std/mutex (mutex): Add private __native_type typedef. Use it.
      	(recursive_mutex): Same.
      	(timed_mutex): Same.
      	(recursive_timed_mutex): Same.
      	(once_flag): Make __native_type typedef private.
      
      	* include/std/thread (this_thread): Add minimal markup.
      
      	* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
      	Adjust line numbers.
      	* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/thread/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/thread/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
      	* testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
      	* testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
      
      	* testsuite/util/thread/all.h: Testsuite utilities for testing thread.
      	* testsuite/30_threads/condition_variable_any/native_handle/
      	typesizes.cc: New.
      	* testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
      	* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
      	* testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
      	* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
      	* testsuite/30_threads/condition_variable/native_handle/
      	typesizes.cc: Same.
      	* testsuite/30_threads/recursive_timed_mutex/native_handle/
      	typesizes.cc: Same.
      
      From-SVN: r144053
      Benjamin Kosnik committed
    • Daily bump. · 7314b35a
      From-SVN: r144050
      GCC Administrator committed
    • rs6000.md (allocate_stack): Always use an update form instruction to update the… · d4bacef0
      rs6000.md (allocate_stack): Always use an update form instruction to update the stack back chain word...
      
      	* config/rs6000/rs6000.md (allocate_stack): Always use an update
      	form instruction to update the stack back chain word, even if the
      	user has disabled the generation of update instructions.
      	(movdi_<mode>_update_stack): New.
      	(movsi_update_stack): Likewise.
      	* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
      	always use an update form instruction to update the stack back
      	chain word.
      
      From-SVN: r144047
      Ben Elliston committed
  2. 09 Feb, 2009 15 commits
  3. 08 Feb, 2009 3 commits
  4. 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
  5. 06 Feb, 2009 3 commits