This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] OpenACC executable directives
On Fri, Dec 02, 2016 at 06:38:25AM -0800, Cesar Philippidis wrote:
> 2016-12-02 Cesar Philippidis <cesar@codesourcery.com>
> James Norris <jnorris@codesourcery.com>
>
> gcc/c/
> * c-parser.c (c_parser_pragma): Error when PRAGMA_OACC_{ENTER_DATA,
> EXIT_DATA,WAIT} are not used in compound statements.
> (c_parser_oacc_enter_exit_data): Update diagnostics.
>
> gcc/cp/
> * parser.c (cp_parser_oacc_enter_exit_data): Update diagnostics.
> (cp_parser_pragma): Error when PRAGMA_OACC_{ENTER_DATA,
> EXIT_DATA,WAIT} are not used in compound statements.
>
> gcc/testsuite/
> * c-c++-common/goacc/data-2.c: Adjust test.
> * c-c++-common/goacc/executeables-1.c: New test.
> * g++.dg/goacc/data-1.C: Adjust test.
Ok, thanks.
Jakub