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 0000000000000000000000000000000000000000..7685a799642ca865e45a6a8be1ccd298c69ce0a9
--- /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 0000000000000000000000000000000000000000..d229b5f9181b8dc2770495a9e1ce0bb80e6814df
--- /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 0000000000000000000000000000000000000000..353fd74da5774fc07076b23868a8d12b5696a025
--- /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 0000000000000000000000000000000000000000..3547429fe096fc7aea54e2c71c056d91b1d9bdf5
--- /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"