[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 --- Comment #1 from Michael Meissner --- Author: meissner Date: Thu Mar 27 20:07:16 2014 New Revision: 208877 URL: http://gcc.gnu.org/viewcvs?rev=208877&root=gcc&view=rev Log: [gcc] 2014-03-27 Michael Meissner * config/rs6000/constraints.md (wD constraint): New constraint to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin for ISA 2.07. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add vbpermq builtins. * config/rs6000/rs6000.c (rs6000_debug_reg_global): If -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT. * config/rs6000/vsx.md (vsx_extract_, V2DI/V2DF modes): Optimize vec_extract of 64-bit values, where the value being extracted is in the top word, where we can use scalar instructions. Add direct move and store support. Combine the big endian/little endian vector select load support into a single insn. (vsx_extract__internal1): Likewise. (vsx_extract__internal2): Likewise. (vsx_extract__load): Likewise. (vsx_extract__store): Likewise. (vsx_extract__zero): Delete, big and little endian insns are combined into vsx_extract__load. (vsx_extract__one_le): Likewise. * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to define the top 64-bit vector element. * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD constraint. PR target/60672 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to enable use of xxsldwi and xxpermdi builtin functions. (vec_xxpermdi): Likewise. * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. [gcc/testsuite] 2014-03-27 Michael Meissner * gcc.target/powerpc/p8vector-vbpermq.c: New test to test the vbpermq builtin. * gcc.target/powerpc/vsx-extract-1.c: New test to test VSX vec_select optimizations. * gcc.target/powerpc/vsx-extract-2.c: Likewise. * gcc.target/powerpc/vsx-extract-3.c: Likewise. PR target/60672 * gcc.target/powerpc/pr60676.c: New file, make sure xxsldwi and xxpermdi builtins are supported. Added: trunk/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c trunk/gcc/testsuite/gcc.target/powerpc/pr60676.c trunk/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c trunk/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c trunk/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/altivec.h trunk/gcc/config/rs6000/altivec.md trunk/gcc/config/rs6000/constraints.md trunk/gcc/config/rs6000/predicates.md trunk/gcc/config/rs6000/rs6000-builtin.def trunk/gcc/config/rs6000/rs6000-c.c trunk/gcc/config/rs6000/rs6000.c trunk/gcc/config/rs6000/rs6000.h trunk/gcc/config/rs6000/vsx.md trunk/gcc/doc/extend.texi trunk/gcc/doc/md.texi trunk/gcc/testsuite/ChangeLog
[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 --- Comment #2 from Michael Meissner --- Author: meissner Date: Thu Mar 27 21:15:16 2014 New Revision: 208878 URL: http://gcc.gnu.org/viewcvs?rev=208878&root=gcc&view=rev Log: [gcc] 2014-03-27 Michael Meissner Back port from main line: 2014-03-27 Michael Meissner * config/rs6000/constraints.md (wD constraint): New constraint to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin for ISA 2.07. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add vbpermq builtins. * config/rs6000/rs6000.c (rs6000_debug_reg_global): If -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT. * config/rs6000/vsx.md (vsx_extract_, V2DI/V2DF modes): Optimize vec_extract of 64-bit values, where the value being extracted is in the top word, where we can use scalar instructions. Add direct move and store support. Combine the big endian/little endian vector select load support into a single insn. (vsx_extract__internal1): Likewise. (vsx_extract__internal2): Likewise. (vsx_extract__load): Likewise. (vsx_extract__store): Likewise. (vsx_extract__zero): Delete, big and little endian insns are combined into vsx_extract__load. (vsx_extract__one_le): Likewise. * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to define the top 64-bit vector element. * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD constraint. PR target/60672 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to enable use of xxsldwi and xxpermdi builtin functions. (vec_xxpermdi): Likewise. * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. [gcc/testsuite] 2014-03-27 Michael Meissner Back port from main line: 2014-03-27 Michael Meissner * gcc.target/powerpc/p8vector-vbpermq.c: New test to test the vbpermq builtin. * gcc.target/powerpc/vsx-extract-1.c: New test to test VSX vec_select optimizations. * gcc.target/powerpc/vsx-extract-2.c: Likewise. * gcc.target/powerpc/vsx-extract-3.c: Likewise. PR target/60672 * gcc.target/powerpc/pr60676.c: New file, make sure xxsldwi and xxpermdi builtins are supported. Added: branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c - copied unchanged from r208877, trunk/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/pr60676.c - copied unchanged from r208877, trunk/gcc/testsuite/gcc.target/powerpc/pr60676.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c - copied unchanged from r208877, trunk/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c - copied unchanged from r208877, trunk/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c - copied unchanged from r208877, trunk/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c Modified: branches/ibm/gcc-4_8-branch/gcc/ChangeLog.ibm branches/ibm/gcc-4_8-branch/gcc/config/rs6000/altivec.h branches/ibm/gcc-4_8-branch/gcc/config/rs6000/altivec.md branches/ibm/gcc-4_8-branch/gcc/config/rs6000/constraints.md branches/ibm/gcc-4_8-branch/gcc/config/rs6000/predicates.md branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000-builtin.def branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000-c.c branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000.c branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000.h branches/ibm/gcc-4_8-branch/gcc/config/rs6000/vsx.md branches/ibm/gcc-4_8-branch/gcc/doc/extend.texi branches/ibm/gcc-4_8-branch/gcc/doc/md.texi branches/ibm/gcc-4_8-branch/gcc/testsuite/ChangeLog.ibm
[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 --- Comment #3 from John David Anglin --- Author: danglin Date: Sun Apr 6 16:31:38 2014 New Revision: 209165 URL: http://gcc.gnu.org/viewcvs?rev=209165&root=gcc&view=rev Log: PR testsuite/60672 * g++.dg/cpp1y/auto-fn25.C: Require lto. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn25.C
[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from John David Anglin --- Fixed.
[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 --- Comment #5 from Michael Meissner --- Author: meissner Date: Wed Apr 23 23:16:05 2014 New Revision: 209726 URL: http://gcc.gnu.org/viewcvs?rev=209726&root=gcc&view=rev Log: [gcc] 2014-04-22 Michael Meissner Back port from main line: 2014-03-27 Michael Meissner * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin for ISA 2.07. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add vbpermq builtins. * config/rs6000/altivec.md (UNSPEC_VBPERMQ): Add support for the vbpermq instruction. (altivec_vbpermq): Likewise. PR target/60672 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to enable use of xxsldwi and xxpermdi builtin functions. (vec_xxpermdi): Likewise. * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. [gcc/testsuite] 2014-04-23 Michael Meissner Back port from main line: 2014-03-27 Michael Meissner * gcc.target/powerpc/p8vector-vbpermq.c: New test to test the vbpermq builtin. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c - copied unchanged from r209725, trunk/gcc/testsuite/gcc.target/powerpc/p8vector-vbpermq.c Modified: branches/gcc-4_8-branch/gcc/config/rs6000/altivec.h branches/gcc-4_8-branch/gcc/config/rs6000/altivec.md branches/gcc-4_8-branch/gcc/config/rs6000/rs6000-builtin.def branches/gcc-4_8-branch/gcc/config/rs6000/rs6000-c.c branches/gcc-4_8-branch/gcc/doc/extend.texi
[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 --- Comment #6 from Michael Meissner --- Author: meissner Date: Wed Apr 23 23:16:54 2014 New Revision: 209727 URL: http://gcc.gnu.org/viewcvs?rev=209727&root=gcc&view=rev Log: [gcc] 2014-04-22 Michael Meissner Back port from main line: 2014-03-27 Michael Meissner * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin for ISA 2.07. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add vbpermq builtins. * config/rs6000/altivec.md (UNSPEC_VBPERMQ): Add support for the vbpermq instruction. (altivec_vbpermq): Likewise. PR target/60672 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to enable use of xxsldwi and xxpermdi builtin functions. (vec_xxpermdi): Likewise. * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. [gcc/testsuite] 2014-04-23 Michael Meissner Back port from main line: 2014-03-27 Michael Meissner * gcc.target/powerpc/p8vector-vbpermq.c: New test to test the vbpermq builtin. Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
[Bug testsuite/60672] FAIL: g++.dg/cpp1y/auto-fn25.C -std=gnu++1y (test for errors, line 7)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60672 --- Comment #7 from Peter Bergner --- Author: bergner Date: Mon May 12 23:08:22 2014 New Revision: 210344 URL: http://gcc.gnu.org/viewcvs?rev=210344&root=gcc&view=rev Log: Reapply the old IBM 4.8 branch patches that are not upstream. gcc/ Back port mainline subversion id 209025. 2014-04-02 Michael Meissner PR target/60735 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have software floating point or no floating point registers, do not allow any type in the FPRs. Eliminate a test for SPE SIMD types in GPRs that occurs after we tested for GPRs that would never be true. Back port from main line: 2014-03-27 Michael Meissner * config/rs6000/constraints.md (wD constraint): New constraint to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/rs6000.c (rs6000_debug_reg_global): If -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT. * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to define the top 64-bit vector element. * config/rs6000/vsx.md (vsx_extract_, V2DI/V2DF modes): Optimize vec_extract of 64-bit values, where the value being extracted is in the top word, where we can use scalar instructions. Add direct move and store support. Combine the big endian/little endian vector select load support into a single insn. (vsx_extract__internal1): Likewise. (vsx_extract__internal2): Likewise. (vsx_extract__load): Likewise. (vsx_extract__store): Likewise. (vsx_extract__zero): Delete, big and little endian insns are combined into vsx_extract__load. (vsx_extract__one_le): Likewise. * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD constraint. * gcc.target/powerpc/vsx-extract-1.c: New test to test VSX vec_select optimizations. * gcc.target/powerpc/vsx-extract-2.c: Likewise. * gcc.target/powerpc/vsx-extract-3.c: Likewise. PR target/60672 * gcc.target/powerpc/pr60676.c: New file, make sure xxsldwi and xxpermdi builtins are supported. Backport from mainline 2013-08-01 Fabien Chêne PR c++/54537 * include/tr1/cmath: Remove pow(double,double) overload, remove a duplicated comment about DR 550. Add a comment to explain the issue. * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New. gcc/testsuite/ Back port from mainline 2013-08-01 Fabien Chêne Peter Bergner PR c++/54537 * g++.dg/overload/using3.C: New. * g++.dg/overload/using2.C: Adjust. * g++.dg/lookup/using9.C: Likewise. gcc/cp/ Back port from mainline 2013-08-01 Fabien Chêne PR c++/54537 * cp-tree.h: Check OVL_USED with OVERLOAD_CHECK. * name-lookup.c (do_nonmember_using_decl): Make sure we have an OVERLOAD before calling OVL_USED. Call diagnose_name_conflict instead of issuing an error without mentioning the conflicting declaration. libgcc/ * config/rs6000/ibm-ldouble.c (pack_ldouble): New function. (__gcc_qadd): Use it. (__gcc_qmul): Likewise. (__gcc_qdiv): Likewise. (__gcc_qneg): Likewise. (__gcc_stoq): Likewise. (__gcc_dtoq): Likewise. Added: branches/ibm/gcc-4_8-branch/gcc/cp/ChangeLog.ibm branches/ibm/gcc-4_8-branch/gcc/testsuite/g++.dg/overload/using3.C branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/pr60676.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/vsx-extract-1.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/vsx-extract-2.c branches/ibm/gcc-4_8-branch/gcc/testsuite/gcc.target/powerpc/vsx-extract-3.c branches/ibm/gcc-4_8-branch/libgcc/ChangeLog.ibm branches/ibm/gcc-4_8-branch/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc Modified: branches/ibm/gcc-4_8-branch/gcc/ChangeLog.ibm branches/ibm/gcc-4_8-branch/gcc/config/rs6000/constraints.md branches/ibm/gcc-4_8-branch/gcc/config/rs6000/predicates.md branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000.c branches/ibm/gcc-4_8-branch/gcc/config/rs6000/rs6000.h branches/ibm/gcc-4_8-branch/gcc/config/rs6000/vsx.md branches/ibm/gcc-4_8-branch/gcc/cp/cp-tree.h branches/ibm/gcc-4_8-branch/gcc/cp/name-lookup.c branches/ibm/gcc-4_8-branch/gcc/doc/md.texi branches/ibm/gcc-4_8-branch/gcc/testsuite/ChangeLog.ibm branches/ibm/gcc-4_8-branch/gcc/testsuite/g++.dg/lookup/using9.C branches/ibm/gcc-4_8-branch/gcc/testsuite/g++.dg/overload/using2.C branches/ibm/gcc-4_8-branch/libgcc/config/rs6000/ibm-ldouble.c branches/ibm/gcc-4_8-branch/libstdc++-v3/include/tr1/cmath