This testcase fails on 32-bit powerpc-linux with

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
This commit is contained in:
Segher Boessenkool 2016-02-02 21:38:06 +01:00 committed by Segher Boessenkool
parent 321a2b65f8
commit a8394fa0fa
2 changed files with 7 additions and 0 deletions

View 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.

View 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;