public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6795] [PATCH, rs6000] Update pr88233.c test (pr91799)
@ 2021-01-19 17:43 Will Schmidt
0 siblings, 0 replies; only message in thread
From: Will Schmidt @ 2021-01-19 17:43 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:04cdb132020733bedc36d14d61cce4246b8bbe4c
commit r11-6795-g04cdb132020733bedc36d14d61cce4246b8bbe4c
Author: Will Schmidt <will_schmidt@vnet.ibm.com>
Date: Wed Jan 13 13:48:30 2021 -0600
[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.
Diff:
---
gcc/testsuite/gcc.target/powerpc/pr88233.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/powerpc/pr88233.c b/gcc/testsuite/gcc.target/powerpc/pr88233.c
index 8e5f15b83b5..27c73717a3f 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-19 17:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 17:43 [gcc r11-6795] [PATCH, rs6000] Update pr88233.c test (pr91799) Will Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).