From 4e4d0f703df019994378f04b1e88f6f4f7854ca8 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 16 Oct 2020 18:09:49 -0400 Subject: [PATCH] testsuite: remove explicit -m32/-m64 from testcases Two tests in the powerpc-specific testsuite explicitly add the -m32 and -m64 commandline options, which only are valid for Linux. And the tests check for lp64 or ilp32, which is redundant. This patch removes the unnecessary commandline options. gcc/testsuite/ChangeLog: 2020-10-16 David Edelsohn * gcc.target/powerpc/pr96139-a.c: Remove -m32. * gcc.target/powerpc/pr96139-b.c: Remove -m64. --- gcc/testsuite/gcc.target/powerpc/pr96139-a.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr96139-b.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/pr96139-a.c b/gcc/testsuite/gcc.target/powerpc/pr96139-a.c index 12a3383902c..70f477f5456 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr96139-a.c +++ b/gcc/testsuite/gcc.target/powerpc/pr96139-a.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -Wall -m32 -mvsx" } */ +/* { dg-options "-O2 -Wall -mvsx" } */ /* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr96139-b.c b/gcc/testsuite/gcc.target/powerpc/pr96139-b.c index 379849a591a..3264a8e6b80 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr96139-b.c +++ b/gcc/testsuite/gcc.target/powerpc/pr96139-b.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -Wall -m64 -mvsx" } */ +/* { dg-options "-O2 -Wall -mvsx" } */ /* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ -- 2.30.2