public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] [testsuite, nvptx] Borrow ia64-sync-*.c test-cases in gcc.target/nvptx
@ 2020-08-27 18:08 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-08-27 18:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a12026e9dd19caee8ce2f53e703564480e9709d4
commit a12026e9dd19caee8ce2f53e703564480e9709d4
Author: Tom de Vries <tdevries@suse.de>
Date: Wed Aug 12 16:11:27 2020 +0200
[testsuite, nvptx] Borrow ia64-sync-*.c test-cases in gcc.target/nvptx
In absence of nvptx-enabling for effective target sync_int_long (see PR96494),
copy a few test-cases to gcc.target/nvptx.
Tested on nvptx.
gcc/testsuite/ChangeLog:
* gcc.target/nvptx/ia64-sync-1.c: New test.
* gcc.target/nvptx/ia64-sync-2.c: New test.
* gcc.target/nvptx/ia64-sync-3.c: New test.
* gcc.target/nvptx/ia64-sync-4.c: New test.
Diff:
---
gcc/testsuite/gcc.target/nvptx/ia64-sync-1.c | 2 ++
gcc/testsuite/gcc.target/nvptx/ia64-sync-2.c | 2 ++
gcc/testsuite/gcc.target/nvptx/ia64-sync-3.c | 2 ++
gcc/testsuite/gcc.target/nvptx/ia64-sync-4.c | 3 +++
4 files changed, 9 insertions(+)
diff --git a/gcc/testsuite/gcc.target/nvptx/ia64-sync-1.c b/gcc/testsuite/gcc.target/nvptx/ia64-sync-1.c
new file mode 100644
index 00000000000..7685a799642
--- /dev/null
+++ b/gcc/testsuite/gcc.target/nvptx/ia64-sync-1.c
@@ -0,0 +1,2 @@
+/* { dg-do run } */
+#include "../../gcc.dg/ia64-sync-1.c"
diff --git a/gcc/testsuite/gcc.target/nvptx/ia64-sync-2.c b/gcc/testsuite/gcc.target/nvptx/ia64-sync-2.c
new file mode 100644
index 00000000000..d229b5f9181
--- /dev/null
+++ b/gcc/testsuite/gcc.target/nvptx/ia64-sync-2.c
@@ -0,0 +1,2 @@
+/* { dg-do run } */
+#include "../../gcc.dg/ia64-sync-2.c"
diff --git a/gcc/testsuite/gcc.target/nvptx/ia64-sync-3.c b/gcc/testsuite/gcc.target/nvptx/ia64-sync-3.c
new file mode 100644
index 00000000000..353fd74da57
--- /dev/null
+++ b/gcc/testsuite/gcc.target/nvptx/ia64-sync-3.c
@@ -0,0 +1,2 @@
+/* { dg-do run } */
+#include "../../gcc.dg/ia64-sync-3.c"
diff --git a/gcc/testsuite/gcc.target/nvptx/ia64-sync-4.c b/gcc/testsuite/gcc.target/nvptx/ia64-sync-4.c
new file mode 100644
index 00000000000..3547429fe09
--- /dev/null
+++ b/gcc/testsuite/gcc.target/nvptx/ia64-sync-4.c
@@ -0,0 +1,3 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -finline-functions" } */
+#include "../../gcc.dg/ia64-sync-4.c"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-27 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 18:08 [gcc/devel/c++-modules] [testsuite, nvptx] Borrow ia64-sync-*.c test-cases in gcc.target/nvptx Nathan Sidwell
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).