From: Alexandre Oliva Date: Mon, 11 Apr 2022 15:11:10 +0000 (-0300) Subject: ppc: testsuite: require target effectively [PR104253] X-Git-Tag: releases/gcc-11.3.0~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20bde90da2ac415d4a06e7a8b2ba770d50385208;p=thirdparty%2Fgcc.git ppc: testsuite: require target effectively [PR104253] The testcase was missing dg- before require-effective-target. While at that, I'm also pruning the excess-error warning I got when the test failed to be disabled because of the above. I suppose it might be useful for some target variants. for gcc/testsuite/ChangeLog PR target/104253 * gcc.target/powerpc/pr104253.c: Add missing dg- before require-effective-target. Prune warning about -mfloat128 possibly not being fully supported. (cherry picked from commit ab0f04e4df1b7b312a4c9fa9b4d675778a0bae86) --- diff --git a/gcc/testsuite/gcc.target/powerpc/pr104253.c b/gcc/testsuite/gcc.target/powerpc/pr104253.c index 02049cc978f0..e5f9499b7c88 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr104253.c +++ b/gcc/testsuite/gcc.target/powerpc/pr104253.c @@ -6,8 +6,9 @@ */ /* { dg-do run } */ -/* { require-effective-target ppc_float128_sw } */ +/* { dg-require-effective-target ppc_float128_sw } */ /* { dg-options "-O2 -mvsx -mfloat128" } */ +/* { dg-prune-output ".-mfloat128. option may not be fully supported" } */ /* * PR target/104253