aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-05-10 17:13:05 -0700
committerAndrew Pinski <quic_apinski@quicinc.com>2025-05-10 17:20:02 -0700
commitde014484f013225bc32bc6eeb11e44038925ae1b (patch)
tree63dd5f8e80e6ef0647b374aea25c6cbbbe872336 /gcc
parent1c1847fe4eb1d1e25d33d4a7b4cf15eec7b9ee63 (diff)
downloadgcc-de014484f013225bc32bc6eeb11e44038925ae1b.zip
gcc-de014484f013225bc32bc6eeb11e44038925ae1b.tar.gz
gcc-de014484f013225bc32bc6eeb11e44038925ae1b.tar.bz2
testsuite: Fix pr119131-1.c for targets which emit a psabi warning for vectors of DFP [PR119909]
On PowerPC, there is a psabi warning for argument passing of a DFP vector. We are not expecting this warning and we get a failure due to it. Adding -Wno-psabi fixes the testcase. Committed as obvious after a quick test. gcc/testsuite/ChangeLog: PR testsuite/119909 * gcc.dg/torture/pr119131-1.c: Add -Wno-psabi. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com> (cherry picked from commit bfb61bf309ed207694a97adabc454bfd0936b269)
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr119131-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/torture/pr119131-1.c b/gcc/testsuite/gcc.dg/torture/pr119131-1.c
index c62f702..1780035 100644
--- a/gcc/testsuite/gcc.dg/torture/pr119131-1.c
+++ b/gcc/testsuite/gcc.dg/torture/pr119131-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target dfp } */
+/* { dg-additional-options "-Wno-psabi" } */
/* PR target/119131 */
typedef __attribute__((__vector_size__ (64))) char C;