testsuite: i386: Require dfp in gcc.target/i386/pr101346.c
Commit Message
gcc.target/i386/pr101346.c currently FAILs on Solaris/x86:
FAIL: gcc.target/i386/pr101346.c (test for excess errors)
Excess errors:
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr101346.c:6:1: error: decimal floating-point not supported for this target
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr101346.c:7:6: error: decimal floating-point not supported for this target
/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr101346.c:9:12: warning: implicit declaration of function '__builtin_fabsd128'; did you mean '__builtin_fabsf128'? [-Wimplicit-function-declaration]
Fixed by requiring dfp support. Tested on i386-pc-solaris2.11 and
x86_64-pc-linux-gnu.
Ok for master?
Rainer
Comments
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> gcc.target/i386/pr101346.c currently FAILs on Solaris/x86:
>
> FAIL: gcc.target/i386/pr101346.c (test for excess errors)
>
> Excess errors:
> /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr101346.c:6:1:
> error: decimal floating-point not supported for this target
> /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr101346.c:7:6:
> error: decimal floating-point not supported for this target
> /vol/gcc/src/hg/master/local/gcc/testsuite/gcc.target/i386/pr101346.c:9:12:
> warning: implicit declaration of function '__builtin_fabsd128'; did you
> mean '__builtin_fabsf128'? [-Wimplicit-function-declaration]
>
> Fixed by requiring dfp support. Tested on i386-pc-solaris2.11 and
> x86_64-pc-linux-gnu.
>
> Ok for master?
> 2021-10-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> gcc/testsuite:
> * gcc.target/i386/pr101346.c: Require dfp support.
Now installed as obvious.
Rainer
# HG changeset patch
# Parent 68af767588b52fb610717b4dbbc97b030192ae48
testsuite: i386: Require dfp in gcc.target/i386/pr101346.c
@@ -2,6 +2,7 @@
/* { dg-do compile } */
/* { dg-options "-O0 -fprofile-generate -msse" } */
/* { dg-require-profiling "-fprofile-generate" } */
+/* { dg-require-effective-target dfp } */
_Decimal128
foo (_Decimal128 x)