diff mbox series

[committed[,testsuite:,Fix,up,pr98807.c,on,i686-linux,[PR98807]

Message ID 20210126083635.GZ4020736@tucnak
State New
Headers show
Series [committed[,testsuite:,Fix,up,pr98807.c,on,i686-linux,[PR98807] | expand

Commit Message

Jakub Jelinek Jan. 26, 2021, 8:36 a.m. UTC
Hi!
On Mon, Jan 25, 2021 at 01:18:05PM +0100, Richard Biener wrote:
> This simplifies vector_element_bits further, avoiding any mode
> dependence and instead relying on boolean vector construction
> to populate element precision accordingly.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu (also with
> AVX512 with the help of SDE), pushed.

The new testcase FAILs on i686-linux with:
gcc/testsuite/gcc.dg/pr98807.c: In function 'foo0':
gcc/testsuite/gcc.dg/pr98807.c:20:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
gcc/testsuite/gcc.dg/pr98807.c:19:1: note: the ABI for passing parameters with 16-byte alignment has changed in GCC 4.6
gcc/testsuite/gcc.dg/pr98807.c:19:1: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi]
FAIL: gcc.dg/pr98807.c (test for excess errors)

Adding usual testcase treatment for such cases.

Tested on x86_64-linux -m32,-m32/-mno-sse,-m64, committed to trunk as
obvious.

2021-01-26  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/98807
	* gcc.dg/pr98807.c: Add -Wno-psabi -w to dg-options.



	Jakub
diff mbox series

Patch

--- gcc/testsuite/gcc.dg/pr98807.c.jj	2021-01-25 14:19:43.127539432 +0100
+++ gcc/testsuite/gcc.dg/pr98807.c	2021-01-26 09:29:51.392928389 +0100
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-require-effective-target stdint_types } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -Wno-psabi -w" } */
 /* { dg-additional-options "-mno-sse2" { target x86_64-*-* i?86-*-* } } */
 
 #include <stdint.h>