This testcase fails on 32-bit powerpc-linux with
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 2 Feb 2016 20:38:06 +0000 (21:38 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 2 Feb 2016 20:38:06 +0000 (21:38 +0100)
vector-compare-4.c

This testcase fails on 32-bit powerpc-linux with

Excess errors:
/home/segher/src/gcc/gcc/testsuite/c-c++-common/vector-compare-4.c:31:1: warning: GCC vector returned by reference: non-standard ABI extension with no compatibility guarantee

Fix this as in vector-compare-2.c .

testsuite/
* c-c++-common/vector-compare-4.c: Prune "non-standard ABI extension"
warning.

From-SVN: r233093

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/vector-compare-4.c

index afe4720..5006739 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-02  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * c-c++-common/vector-compare-4.c: Prune "non-standard ABI extension"
+       warning.
+
 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gcc.target/i386/iamcu/test_empty_structs_and_unions.c: New test.
index b44f474..b05decc 100644 (file)
@@ -1,6 +1,8 @@
 /* PR c/68062 */
 /* { dg-do compile } */
 /* { dg-options "-Wsign-compare" } */
+/* Ignore warning on some powerpc configurations. */
+/* { dg-prune-output "non-standard ABI extension" } */
 
 typedef signed char __attribute__ ((vector_size (4))) v4qi;
 typedef unsigned char __attribute__ ((vector_size (4))) uv4qi;