Commit bb87d5cc by Jakub Jelinek

testsuite: Fix up pr94482.c testcase [PR94482]

The test FAILs on powerpc64-linux with -m32 due to psabi warnings.
Furthermore, the test needs really -msse2 to reproduce on x86 -m32 at -O2.

2020-04-11  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/94482
	* gcc.dg/torture/pr94482.c: Add -Wno-psabi -w.  Don't add -msse
	and sse_runtime effective target on x86, instead only add -msse2
	if target is sse2_runtime.
parent a615ea71
2020-04-11 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/94482
* gcc.dg/torture/pr94482.c: Add -Wno-psabi -w. Don't add -msse
and sse_runtime effective target on x86, instead only add -msse2
if target is sse2_runtime.
2020-04-10 Iain Sandoe <iain@sandoe.co.uk> 2020-04-10 Iain Sandoe <iain@sandoe.co.uk>
PR c++/94528 PR c++/94528
......
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */ /* { dg-additional-options "-Wno-psabi -w" } */
/* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */ /* { dg-additional-options "-msse2" { target sse2_runtime } } */
typedef unsigned V __attribute__ ((__vector_size__ (16))); typedef unsigned V __attribute__ ((__vector_size__ (16)));
union U union U
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment