From a8394fa0fad43113e8351b1e9ce7f3219dfe5782 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 2 Feb 2016 21:38:06 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/c-c++-common/vector-compare-4.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index afe47207a0f..50067397596 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-02-02 Segher Boessenkool + + * c-c++-common/vector-compare-4.c: Prune "non-standard ABI extension" + warning. + 2016-02-02 H.J. Lu * gcc.target/i386/iamcu/test_empty_structs_and_unions.c: New test. diff --git a/gcc/testsuite/c-c++-common/vector-compare-4.c b/gcc/testsuite/c-c++-common/vector-compare-4.c index b44f474f395..b05deccfab5 100644 --- a/gcc/testsuite/c-c++-common/vector-compare-4.c +++ b/gcc/testsuite/c-c++-common/vector-compare-4.c @@ -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; -- 2.30.2