Pragma parsing (was: [PATCH] OpenACC for C++ front end)

2014-12-18 Thread Thomas Schwinge
Hi! On Thu, 13 Nov 2014 14:02:37 +0100, Jakub Jelinek ja...@redhat.com wrote: void init_pragma (void) { + if (flag_openacc) +{ + const int n_oacc_pragmas + = sizeof (oacc_pragmas) / sizeof (*oacc_pragmas); + int i; + + for (i = 0; i n_oacc_pragmas;

Re: Pragma parsing (was: [PATCH] OpenACC for C++ front end)

2014-12-18 Thread Jakub Jelinek
On Thu, Dec 18, 2014 at 02:48:32PM +0100, Thomas Schwinge wrote: Like for CILK, I'd strongly prefer if for the clauses that are specific to OpenACC only you'd use PRAGMA_OACC_CLAUSE_* instead, and put them after the PRAGMA_CILK_* enum values. If you want to have PRAGMA_OACC_CLAUSE_ aliases