]> gcc.gnu.org Git - gcc.git/commit
testsuite: Fix up pr104188.c testcase for i686-linux [PR104188]
authorJakub Jelinek <jakub@redhat.com>
Wed, 26 Jan 2022 10:58:27 +0000 (11:58 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 26 Jan 2022 11:07:40 +0000 (12:07 +0100)
commit44d28c67b484fe3be7b693108fc03cbe6aa05329
tree56f345a4eb37423b6ce2ce0dd04e62aa04652f53
parent7857c8ab8ba0deace60bf9e18f10f47c3047d4a2
testsuite: Fix up pr104188.c testcase for i686-linux [PR104188]

On i686-linux this new testcase FAILs with:
cc1: warning: SSE instruction set disabled, using 387 arithmetics
FAIL: gcc.target/i386/pr104188.c (test for excess errors)
Excess errors:
cc1: warning: SSE instruction set disabled, using 387 arithmetics
This is because it uses -mfpmath=sse, but -msse2 isn't on.  Fixed
by adding -msse2 to dg-options and requiring sse2_runtime effective
target.

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

PR target/104188
* gcc.target/i386/pr104188.c: Add dg-require-effective-target
sse2_runtime.  Add -msse2 to dg-options.

(cherry picked from commit 192e4a9fa0880ef153631d5b0de864bc4bbb6a91)
gcc/testsuite/gcc.target/i386/pr104188.c
This page took 0.075425 seconds and 5 git commands to generate.