testsuite: fixup pr97521.c and pr96713.c on i686-*
authorMarc Poulhiès <poulhies@adacore.com>
Tue, 8 Mar 2022 16:05:52 +0000 (16:05 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 29 Mar 2022 08:36:30 +0000 (10:36 +0200)
commitb6cccf88cb65043c20a020e4decf249a78180175
tree19b2a7a46d63973573a274684b9ff7d4cebe9d81
parent28c5df79300ab354cbc381aab200f7c2bd0331ad
testsuite: fixup pr97521.c and pr96713.c on i686-*

On targets that do not have MXX/SSE enabled by default, pr97521
and pr96713 fail because they emit warnings:

pr97521.c:12:1: warning: MMX vector return without MMX enabled
                changes the ABI [-Wpsabi]
pr97521.c:11:1: note: the ABI for passing parameters with
                16-byte alignment has changed in GCC 4.6
pr97521.c:11:1: warning: SSE vector argument without SSE enabled
                changes the ABI [-Wpsabi]

Add -Wno-psabi to dg-options.

gcc/testsuite/ChangeLog:
* gcc.target/i386/pr97521.c: Add -Wno-psabi to dg-options.
* gcc.dg/analyzer/pr96713.c: Likewise.
gcc/testsuite/gcc.dg/analyzer/pr96713.c
gcc/testsuite/gcc.target/i386/pr97521.c