aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2021-01-13 13:48:30 -0600
committerWill Schmidt <will_schmidt@vnet.ibm.com>2021-01-19 11:43:14 -0600
commit04cdb132020733bedc36d14d61cce4246b8bbe4c (patch)
treed6d9bad36562f6b6b4b0ebc2572773ba8d0f461f
parent04b472ad0e1dc93abafe5c6c4d015e5fe00f76d2 (diff)
downloadgcc-04cdb132020733bedc36d14d61cce4246b8bbe4c.zip
gcc-04cdb132020733bedc36d14d61cce4246b8bbe4c.tar.gz
gcc-04cdb132020733bedc36d14d61cce4246b8bbe4c.tar.bz2
[PATCH, rs6000] Update pr88233.c test (pr91799)
Hi, This is a follow-up fix to clean up pr91799. Per review of test results, it appears that the combination of target and dg-require stanzas is not sufficient to properly limit the test to 64-bit only on darwin. This adds an additional dg-require clause to limit the test to 64-bit environments. Tested on power7 and power8 using assorted variations of make -k check-gcc-c "RUNTESTFLAGS=powerpc.exp=pr88233.c --target_board=unix/'{-mcpu=power7,-mcpu=power6,-mcpu=power8}''{-m32,-m64}'" PR target/91799 2021-01-19 Will Schmidt <will_schmidt@vnet.ibm.com> gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr88233.c: Update dg- stanzas.
-rw-r--r--gcc/testsuite/gcc.target/powerpc/pr88233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/pr88233.c b/gcc/testsuite/gcc.target/powerpc/pr88233.c
index 8e5f15b..27c7371 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr88233.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr88233.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target lp64 } } */
+/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mdejagnu-cpu=power8" } */
typedef struct { double a[2]; } A;