https://gcc.gnu.org/g:9f7781adbdb2b72e35334695e17439eed564f31e

commit r17-4154-g9f7781adbdb2b72e35334695e17439eed564f31e
Author: Jakub Jelinek <[email protected]>
Date:   Fri Sep 11 09:41:53 2026 +0200

    testsuite: Fix up vperm-v4s[if]-3.c tests
    
    These tests FAIL on i686-linux:
    Excess errors:
    .../gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c:6:1: warning: SSE vector 
return without SSE enabled changes the ABI [-Wpsabi]
    .../gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c:6:6: warning: SSE vector 
argument without SSE enabled changes the ABI [-Wpsabi]
    and similarly for the other tests.
    Fixed by adding -Wno-psabi, like we do for many other tests.
    
    2026-09-11  Jakub Jelinek  <[email protected]>
    
            * gcc.target/i386/vperm-v4sf-3.c: New test.
            * gcc.target/i386/vperm-v4si-3.c: New test.

Diff:
---
 gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c | 3 +--
 gcc/testsuite/gcc.target/i386/vperm-v4si-3.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c 
b/gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c
index 6ed939bef32f..98301aadcec1 100644
--- a/gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c
+++ b/gcc/testsuite/gcc.target/i386/vperm-v4sf-3.c
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -Wno-psabi" } */
 
 typedef float v4sf __attribute__ ((__vector_size__ (16)));
 
@@ -71,4 +71,3 @@ int main()
   }
   return 0;
 }
-
diff --git a/gcc/testsuite/gcc.target/i386/vperm-v4si-3.c 
b/gcc/testsuite/gcc.target/i386/vperm-v4si-3.c
index 2ad9bf1d7f09..a4c645a854cd 100644
--- a/gcc/testsuite/gcc.target/i386/vperm-v4si-3.c
+++ b/gcc/testsuite/gcc.target/i386/vperm-v4si-3.c
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -Wno-psabi" } */
 
 typedef int v4si __attribute__ ((__vector_size__ (16)));
 
@@ -70,4 +70,3 @@ int main()
   }
   return 0;
 }
-

Reply via email to