rs6000-c.c (altivec_resolve_overloaded_builtin): Issue a warning message when vec_lvs...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 3 Oct 2014 21:32:20 +0000 (21:32 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 3 Oct 2014 21:32:20 +0000 (21:32 +0000)
commit264f4afafc4128b154263561cbb8435540f99e7e
tree45da3f2f879a8cea04300a44ff729b557be90f91
parentbb42836b34dca74aab99035ac236fa6e81b1d4c1
rs6000-c.c (altivec_resolve_overloaded_builtin): Issue a warning message when vec_lvsl or vec_lvsr is used with a little endian...

[gcc]

2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
Issue a warning message when vec_lvsl or vec_lvsr is used with a
little endian target.

[gcc/testsuite]

2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* g++.dg/ext/altivec-2.C: Compile with -Wno-deprecated to avoid
failing with the new warning message.
* gcc.dg/vmx/3c-01a.c: Likewise.
* gcc.dg/vmx/ops-long-1.c: Likewise.
* gcc.dg/vmx/ops.c: Likewise.
* gcc.target/powerpc/altivec-20.c: Likewise.
* gcc.target/powerpc/altivec-6.c: Likewise.
* gcc.target/powerpc/altivec-vec-merge.c: Likewise.
* gcc.target/powerpc/vsx-builtin-8.c: Likewise.
* gcc.target/powerpc/warn-lvsl-lvsr.c: New test.

From-SVN: r215880
12 files changed:
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/altivec-2.C
gcc/testsuite/gcc.dg/vmx/3c-01a.c
gcc/testsuite/gcc.dg/vmx/ops-long-1.c
gcc/testsuite/gcc.dg/vmx/ops.c
gcc/testsuite/gcc.target/powerpc/altivec-20.c
gcc/testsuite/gcc.target/powerpc/altivec-6.c
gcc/testsuite/gcc.target/powerpc/altivec-vec-merge.c
gcc/testsuite/gcc.target/powerpc/vsx-builtin-8.c
gcc/testsuite/gcc.target/powerpc/warn-lvsl-lvsr.c [new file with mode: 0644]