https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64748
--- Comment #7 from jnorris at gcc dot gnu.org --- Author: jnorris Date: Tue Feb 16 16:27:11 2016 New Revision: 233466 URL: https://gcc.gnu.org/viewcvs?rev=233466&root=gcc&view=rev Log: Backport from trunk: PR c/64748 gcc/cp/ * parser.c (cp_parser_oacc_data_clause_deviceptr): Remove checking. * semantics.c (finish_omp_clauses): Add deviceptr checking. gcc/testsuite/ * c-c++-common/goacc/deviceptr-1.c: Add tests. * g++.dg/goacc/deviceptr-1.c: New file. Added: branches/gomp-4_0-branch/gcc/testsuite/g++.dg/goacc/deviceptr-1.C Modified: branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp branches/gomp-4_0-branch/gcc/cp/parser.c branches/gomp-4_0-branch/gcc/cp/semantics.c branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/deviceptr-1.c