From: David Edelsohn Date: Fri, 16 Oct 2020 22:09:49 +0000 (-0400) Subject: testsuite: remove explicit -m32/-m64 from testcases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e4d0f703df019994378f04b1e88f6f4f7854ca8;p=gcc.git 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. --- 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 } */