diff mbox series

ppc: testsuite: require target effectively [PR104253]

Message ID ory20b4qou.fsf@lxoliva.fsfla.org
State New
Headers show
Series ppc: testsuite: require target effectively [PR104253] | expand

Commit Message

Alexandre Oliva April 11, 2022, 2:53 p.m. UTC
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.

Tested with target powerpc64-wrs-vxworks7r2.  Ok to install?  Trunk?
gcc-11?  gcc-10?


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.
---
 gcc/testsuite/gcc.target/powerpc/pr104253.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

David Edelsohn April 11, 2022, 3:01 p.m. UTC | #1
On Mon, Apr 11, 2022 at 10:53 AM Alexandre Oliva <oliva@adacore.com> wrote:
>
>
> 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.
>
> Tested with target powerpc64-wrs-vxworks7r2.  Ok to install?  Trunk?
> gcc-11?  gcc-10?

Okay.  This probably counts as obvious.

Thanks, David

>
>
> 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.
> ---
>  gcc/testsuite/gcc.target/powerpc/pr104253.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.target/powerpc/pr104253.c b/gcc/testsuite/gcc.target/powerpc/pr104253.c
> index 02049cc978f05..e5f9499b7c881 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
>
>
> --
> Alexandre Oliva, happy hacker                https://FSFLA.org/blogs/lxo/
>    Free Software Activist                       GNU Toolchain Engineer
> Disinformation flourishes because many people care deeply about injustice
> but very few check the facts.  Ask me about <https://stallmansupport.org>
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/powerpc/pr104253.c b/gcc/testsuite/gcc.target/powerpc/pr104253.c
index 02049cc978f05..e5f9499b7c881 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