]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add -Wno-psabi to pr113126.c test
authorJakub Jelinek <jakub@redhat.com>
Tue, 26 Mar 2024 10:25:15 +0000 (11:25 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 26 Mar 2024 10:25:15 +0000 (11:25 +0100)
I've missed
FAIL: gcc.dg/torture/pr113126.c   -O0  (test for excess errors)
etc. regressions on i686-linux since January.  The problem is obvious
Excess errors:
.../gcc/testsuite/gcc.dg/torture/pr113126.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi]
and I've added -Wno-psabi to dg-additional-options to fix that up.

2024-03-26  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/torture/pr113126.c: Add -Wno-psabi as dg-additional-options.

gcc/testsuite/gcc.dg/torture/pr113126.c

index 4aa38e0a2557a7f427b55b15d450e950ad86accd..ffe29799d13a76a7e1675ed394b6b851f6c69ad1 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-additional-options "-Wno-psabi" } */
 
 typedef float __attribute__((__vector_size__ (8))) F;
 typedef double __attribute__((__vector_size__ (16))) G;