From: Steven Munroe Date: Thu, 18 May 2017 14:01:11 +0000 (+0000) Subject: Fix up dg-option to resolve problems reported by David Edelshon for AIX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62ee030a80630a8cd0c0d51548ab927c44d54fd4;p=gcc.git Fix up dg-option to resolve problems reported by David Edelshon for AIX. 2017-05-17 Steven Munroe * gcc.target/powerpc/bmi-andn-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi-andn-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi-bextr-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi-bextr-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi-bextr-4.c: Fix-up dg-options. * gcc.target/powerpc/bmi-bextr-5.c: Fix-up dg-options. * gcc.target/powerpc/bmi-blsi-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi-blsi-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi-blsmsk-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi-blsmsk-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi-blsr-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi-blsr-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi-tzcnt-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi-tzcnt-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-bzhi32-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-bzhi64-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-bzhi64-1a.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-mulx32-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-mulx32-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-mulx64-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-mulx64-2.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-pdep32-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-pdep64-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-pext32-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-pext64-1.c: Fix-up dg-options. * gcc.target/powerpc/bmi2-pext64-1a.c: Fix-up dg-options. From-SVN: r248201 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fca9165d0ce..98c8081547d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,32 @@ +2017-05-18 Steven Munroe + + * gcc.target/powerpc/bmi-andn-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-andn-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-bextr-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-bextr-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-bextr-4.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-bextr-5.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-blsi-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-blsi-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-blsmsk-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-blsmsk-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-blsr-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-blsr-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-tzcnt-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi-tzcnt-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-bzhi32-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-bzhi64-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-bzhi64-1a.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-mulx32-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-mulx32-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-mulx64-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-mulx64-2.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-pdep32-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-pdep64-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-pext32-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-pext64-1.c: Fix-up dg-options. + * gcc.target/powerpc/bmi2-pext64-1a.c: Fix-up dg-options. + 2017-05-18 Sheldon Lobo * gcc.target/sparc/niagara7-align.c: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-andn-1.c b/gcc/testsuite/gcc.target/powerpc/bmi-andn-1.c index 6be887ad9ed..8d8d643e088 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-andn-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-andn-1.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64" } */ +/* { dg-options "-O3" } */ /* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-andn-2.c b/gcc/testsuite/gcc.target/powerpc/bmi-andn-2.c index c36a5204ea1..a4260b51b79 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-andn-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-andn-2.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64" } */ +/* { dg-options "-O3" } */ /* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-1.c b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-1.c index 9e593ebdc97..f532c6a3bb5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O2 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O2 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-2.c b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-2.c index 7afe41ed561..b3515259fca 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-4.c b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-4.c index 23b9abfa9f5..8701d9fbd1d 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-4.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-4.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-5.c b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-5.c index 96101d1e506..2835adedced 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-bextr-5.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-bextr-5.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-blsi-1.c b/gcc/testsuite/gcc.target/powerpc/bmi-blsi-1.c index 4d42ca6b7bd..418d336b43e 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-blsi-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-blsi-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-blsi-2.c b/gcc/testsuite/gcc.target/powerpc/bmi-blsi-2.c index 6e3cceff020..1d51b5a75bb 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-blsi-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-blsi-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-1.c b/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-1.c index a1b86eec0bf..df34d53ab86 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-2.c b/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-2.c index 5c4a359fc21..e5fe12d4ee0 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-blsmsk-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-blsr-1.c b/gcc/testsuite/gcc.target/powerpc/bmi-blsr-1.c index d59d41b33df..645e00f05ee 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-blsr-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-blsr-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-blsr-2.c b/gcc/testsuite/gcc.target/powerpc/bmi-blsr-2.c index bc80e427b55..f290b838001 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-blsr-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-blsr-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-1.c b/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-1.c index 572fa0c4c0c..25b096ad0bc 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-2.c b/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-2.c index 37401b009ab..75397e53eb6 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi-tzcnt-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ +/* { dg-options "-O3 -fno-inline" } */ /* { dg-require-effective-target lp64 } */ -/* { dg-options "-O3 -m64 -fno-inline" } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi32-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi32-1.c index 51a0e896e53..b2a6d4d74ea 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi32-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi32-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1.c index 49804d94bb7..a09d5d24b51 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1a.c b/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1a.c index 3118198f382..149cbc5d416 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1a.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-bzhi64-1a.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-1.c index 5b465775370..eda74690589 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include "bmi2-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-2.c b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-2.c index 6001d8ed153..a6fc38cbf55 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx32-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-1.c index 2e449c23a8d..5334de20fc5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-1.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include "bmi2-check.h" diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-2.c b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-2.c index 5aa3f806da2..ff119262c64 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-2.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-mulx64-2.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ #define NO_WARN_X86_INTRINSICS 1 #include diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-pdep32-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-pdep32-1.c index b5fb3275e24..0738092dd37 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-pdep32-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-pdep32-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-pdep64-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-pdep64-1.c index 6dddb64ef03..29dcfc517b5 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-pdep64-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-pdep64-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-pext32-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-pext32-1.c index 9e10c730c93..9a8ad28c60d 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-pext32-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-pext32-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1.c b/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1.c index 76fc9ab00b5..5da1213bf25 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ #define NO_WARN_X86_INTRINSICS 1 diff --git a/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1a.c b/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1a.c index a958d104ad3..047352fdadf 100644 --- a/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1a.c +++ b/gcc/testsuite/gcc.target/powerpc/bmi2-pext64-1a.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -m64 -mcpu=power7" } */ +/* { dg-options "-O3" } */ +/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target powerpc_vsx_ok } */ #define NO_WARN_X86_INTRINSICS 1