]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix pr119131-1.c for targets which emit a psabi warning for vectors of...
authorAndrew Pinski <quic_apinski@quicinc.com>
Sun, 11 May 2025 00:13:05 +0000 (17:13 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Sun, 11 May 2025 00:18:36 +0000 (17:18 -0700)
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>
gcc/testsuite/gcc.dg/torture/pr119131-1.c

index c62f702f98c16de4ffdc244abfaaea751b28efeb..1780035dadec95e182cbd45ebcba910d25289096 100644 (file)
@@ -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;