Hi!

This test fails on i686-linux:
Excess errors:
.../gcc/testsuite/g++.target/i386/vec-tmpl1.C:13:27: warning: SSE vector return 
without SSE enabled changes the ABI [-Wpsabi]

Fixed thusly, tested on x86_64-linux with
make check-g++ RUNTESTFLAGS='--target_board=unix\{-m32,-m64,-m32/-mno-sse\} 
i386.exp=vec-tmpl*'
and committed to trunk as obvious.

2022-04-26  Jakub Jelinek  <ja...@redhat.com>

        PR c++/65211
        * g++.target/i386/vec-tmpl1.C: Add -Wno-psabi as
        dg-additional-options.

--- gcc/testsuite/g++.target/i386/vec-tmpl1.C.jj        2022-04-14 
13:46:59.621141017 +0200
+++ gcc/testsuite/g++.target/i386/vec-tmpl1.C   2022-04-26 09:51:10.336944403 
+0200
@@ -1,4 +1,5 @@
 // PR c++/65211
+// { dg-additional-options "-Wno-psabi" }
 // { dg-final { scan-assembler-not "movdqa" } }
 
 typedef unsigned v4ui __attribute__ ((vector_size(16), aligned (16)));

        Jakub

Reply via email to