diff mbox series

[committed] testsuite: Fix up g++.target/i386/vec-tmpl1.C testcase [PR65211]

Message ID YmelqOur9/RsSboh@tucnak
State New
Headers show
Series [committed] testsuite: Fix up g++.target/i386/vec-tmpl1.C testcase [PR65211] | expand

Commit Message

Jakub Jelinek April 26, 2022, 7:56 a.m. UTC
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  <jakub@redhat.com>

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


	Jakub
diff mbox series

Patch

--- 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)));