testsuite: remove explicit -m32/-m64 from testcases
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 16 Oct 2020 22:09:49 +0000 (18:09 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 17 Oct 2020 00:11:26 +0000 (20:11 -0400)
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  <dje.gcc@gmail.com>

* gcc.target/powerpc/pr96139-a.c: Remove -m32.
* gcc.target/powerpc/pr96139-b.c: Remove -m64.

gcc/testsuite/gcc.target/powerpc/pr96139-a.c
gcc/testsuite/gcc.target/powerpc/pr96139-b.c

index 12a3383..70f477f 100644 (file)
@@ -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 } */
 
index 379849a..3264a8e 100644 (file)
@@ -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 } */