@@ -1,3 +1,15 @@
+2014-10-20 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.dg/goacc/sb-1.c: Move file...
+ * c-c++-common/goacc/sb-1.c: ... here.
+ * gcc.dg/goacc/sb-2.c: Move file...
+ * c-c++-common/goacc/sb-2.c: ... here.
+ * gcc.dg/goacc/sb-3.c: Move file...
+ * c-c++-common/goacc/sb-3.c: ... here.
+
+ * g++.dg/goacc-gomp/goacc-gomp.exp: New file.
+ * g++.dg/goacc/goacc.exp: Likewise.
+
2014-10-09 Thomas Schwinge <thomas@codesourcery.com>
* gcc.dg/goacc/collapse.c: Move file to
similarity index 100%
rename from gcc/testsuite/gcc.dg/goacc/sb-1.c
rename to gcc/testsuite/c-c++-common/goacc/sb-1.c
similarity index 100%
rename from gcc/testsuite/gcc.dg/goacc/sb-2.c
rename to gcc/testsuite/c-c++-common/goacc/sb-2.c
similarity index 100%
rename from gcc/testsuite/gcc.dg/goacc/sb-3.c
rename to gcc/testsuite/c-c++-common/goacc/sb-3.c
new file mode 100644
@@ -0,0 +1,36 @@
+# Copyright (C) 2006-2014 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+# Load support procs.
+load_lib g++-dg.exp
+
+if { ![check_effective_target_fopenacc] \
+ || ![check_effective_target_fopenmp] } {
+ return
+}
+
+# Initialize `dg'.
+dg-init
+
+# Main loop.
+g++-dg-runtest [lsort [concat \
+ [find $srcdir/$subdir *.C] \
+ [find $srcdir/c-c++-common/goacc-gomp *.c]]] "" "-fopenacc -fopenmp"
+
+# All done.
+dg-finish
new file mode 100644
@@ -0,0 +1,35 @@
+# Copyright (C) 2006-2014 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+# Load support procs.
+load_lib g++-dg.exp
+
+if ![check_effective_target_fopenacc] {
+ return
+}
+
+# Initialize `dg'.
+dg-init
+
+# Main loop.
+g++-dg-runtest [lsort [concat \
+ [find $srcdir/$subdir *.C] \
+ [find $srcdir/c-c++-common/goacc *.c]]] "" "-fopenacc"
+
+# All done.
+dg-finish