1. 06 Sep, 2006 14 commits
  2. 05 Sep, 2006 13 commits
  3. 04 Sep, 2006 6 commits
  4. 03 Sep, 2006 3 commits
  5. 02 Sep, 2006 4 commits
    • re PR c++/27670 (ICE on invalid template parameter) · b89c561c
      2006-09-02  Lee Millward  <lee.millward@codesourcery.com>
      
              PR c++/27670
              PR c++/27493
              PR c++/27494
              PR c++/27397
              * parser.c (cp_parser_template_parameter_list): Add
              invalid template parameters to the parameter list as
              error_mark_node.
      
              * g++.dg/template/operator9.C: New test.
              * g++.dg/template/operator7.C: New test.
              * g++.dg/template/operator8.C: New test.
              * g++.dg/template/crash57.C: New test.
      
              * g++.dg/template/typedef4.C: Adjust error markers.
              * g++.dg/template/typedef5.C: Likewise.
      
      From-SVN: r116661
      Lee Millward committed
    • re PR libstdc++/24469 (Possible race condition in mt_allocator causing SIGSEGV) · 1d3e6248
      2006-09-02  Paolo Carlini  <pcarlini@suse.de>
      	    Richard Guenther  <rguenther@suse.de>
      
      	PR libstdc++/24469
      	* src/mt_allocator.cc (__pool<true>::_M_reserve_block,
      	__pool<true>::_M_reclaim_block): Fix the logic to avoid
      	races, exploit atomic counters stored in second part of
      	the memory pointed by _M_used.
      	(__pool<true>::_M_initialize): Adjust _M_used allocation.
      	* include/ext/mt_allocator.h (__pool<true>::_Bin_record):
      	Update comment.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r116660
      Paolo Carlini committed
    • Revert this change: · b73aec4f
      	2006-03-17  Alexandre Oliva  <aoliva@redhat.com>
      	* dwarf2out.c (dwarf2out_stack_adjust): Always track the stack
      	pointer, instead of assuming it is possible to derive the
      	correct args size from a call insn.
      
      From-SVN: r116659
      Geoffrey Keating committed
    • re PR middle-end/27567 (__builtin_memcpy generates redundant stores/moves.) · bc038ad5
      	PR middle-end/27567
      	* builtins.c (fold_builtin_memcpy, fold_builtin_memmove): Remove.
      	(fold_builtin_mempcpy): Rename to...
      	(fold_builtin_memory_op): ... this.  Optimize one element copy
      	into an assignment.
      	(fold_builtin_memset, fold_builtin_bzero, fold_builtin_bcopy): New
      	functions.
      	(expand_builtin_strcpy, expand_builtin_strncpy): Handle COMPOUND_EXPR.
      	(expand_builtin_memcpy, expand_builtin_mempcpy,
      	expand_builtin_memmove): Likewise.  Use fold_builtin_memory_op.
      	(fold_builtin_1): Handle BUILT_IN_MEMSET, BUILT_IN_BZERO and
      	BUILT_IN_BCOPY.  Use fold_builtin_memory_op for
      	BUILT_IN_MEM{CPY,PCPY,MOVE}.
      
      From-SVN: r116656
      Jakub Jelinek committed