1. 20 Oct, 2011 34 commits
  2. 19 Oct, 2011 6 commits
    • re PR c++/13657 (Error message incorrectly describes return type as argument type) · c3c1f2b7
      /cp
      2011-10-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/13657
      	* class.c (instantiate_type): Fix error message.
      
      /testsuite
      2011-10-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/13657
      	* g++.dg/parse/error42.C: New.
      	* g++.old-deja/g++.other/ptrmem7.C: Tweak dg-errors.
      
      From-SVN: r180228
      Paolo Carlini committed
    • re PR c++/50793 (G++ doesn't value-initialize all members of non-trivial type in default argument) · 875bcfdb
      	PR c++/50793
      	* tree.c (bot_manip): Propagate AGGR_INIT_ZERO_FIRST.
      
      From-SVN: r180227
      Jason Merrill committed
    • i386.c (expand_vec_perm_vpshufb2_vpermq_even_odd): Use d->op1 instead of d->op0… · f33fa066
      i386.c (expand_vec_perm_vpshufb2_vpermq_even_odd): Use d->op1 instead of d->op0 for the second vpshufb.
      
      	* config/i386/i386.c (expand_vec_perm_vpshufb2_vpermq_even_odd): Use
      	d->op1 instead of d->op0 for the second vpshufb.
      	(expand_vec_perm_even_odd_1): For V8SImode fix vpshufd immediates.
      	(ix86_expand_vec_perm_const): If mask indicates two operands are
      	needed, but both are the same and expanding them as d.op0 == d.op1
      	failed, retry with d.op0 != d.op1.
      	(ix86_expand_vec_perm_builtin): Likewise.  Handle sorry printing
      	also for d.nelt == 32.
      
      	* gcc.dg/torture/vshuf-32.inc: Add interleave permutations.
      	* gcc.dg/torture/vshuf-16.inc: Likewise.
      	* gcc.dg/torture/vshuf-8.inc: Likewise.
      	* gcc.dg/torture/vshuf-4.inc: Likewise.
      
      From-SVN: r180212
      Jakub Jelinek committed
    • [multiple changes] · 24ef84f6
      2011-10-19  Ed Smith-Rowland  <3dw4rd@verizon.net>
      
      	* include/tr2/bool_set (bool_set): New.
      	* include/tr2/bool_set.tcc: New.
      	* include/tr2/dynamic_bitset (dynamic_bitset): New.
      	* include/tr2/ratio (kibi, mebi, gibi, tebi, pebi, exbi): New.
      	* include/Makefile.am: Add files.
      	* include/Makefile.in: Regenerate.
      
      2011-10-19  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/doxygen/user.cfg.in: Add tr2 files.
      	* testsuite/tr2/headers/all.cc: New.
      	* testsuite/tr2/headers/using_namespace_std_tr2.cc: New.
      
      	* include/tr2/type_traits: Tweak.
      
      From-SVN: r180211
      Benjamin Kosnik committed
    • re PR fortran/47023 (C_Sizeof: Rejects valid code) · 2c23ebfe
      2011-10-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47023
      	* check.c (gfc_check_sizeof): Reject procedures as argument of SIZEOF.
      	* intrinsinc.texi (SIZEOF): Document it.
      	(STORAGE_SIZE): Fix special characters. Fix line breaks.
      
      2011-10-19  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47023
      	* gfortran.dg/sizeof_proc.f90: New.
      
      From-SVN: r180210
      Janus Weil committed
    • struct-layout-1_generate.c: Also pass -mno-mmx -Wno-abi for i?86-*-mingw32*… · e423833d
      struct-layout-1_generate.c: Also pass -mno-mmx -Wno-abi for i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin*.
      
      	* g++.dg/compat/struct-layout-1_generate.c: Also pass -mno-mmx
      	-Wno-abi for i?86-*-mingw32* x86_64-*-mingw32* i?86-*-cygwin*.
      
      From-SVN: r180208
      Joseph Myers committed