Make acc_on_device test cases fit for C++.
commitb1a009fdf340acf1840c1b6c9022be69a8f0a661
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Oct 2014 10:39:44 +0000 (31 10:39 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Oct 2014 10:39:44 +0000 (31 10:39 +0000)
tree0152c29976205f0c3a5c1bd4c58d251b841f4359
parent5610fabf13dd18705b0b715582a051b8be984cb2
Make acc_on_device test cases fit for C++.

gcc/testsuite/
* c-c++-common/goacc/acc_on_device-1.c: Move...
* gcc.dg/goacc/acc_on_device-1.c: ... here.
(dg-additional-options): Add -std=c89.
* c-c++-common/goacc/acc_on_device-2-off.c: Extend for C++.
* c-c++-common/goacc/acc_on_device-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@216953 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog.gomp
gcc/testsuite/c-c++-common/goacc/acc_on_device-2-off.c
gcc/testsuite/c-c++-common/goacc/acc_on_device-2.c
gcc/testsuite/gcc.dg/goacc/acc_on_device-1.c [moved from gcc/testsuite/c-c++-common/goacc/acc_on_device-1.c with 82% similarity]