Re: [gomp4] c++ delete clause

2014-10-21 Thread Cesar Philippidis
On 10/20/2014 01:26 PM, Cesar Philippidis wrote: > On 10/20/2014 01:18 PM, Jakub Jelinek wrote: >> See how private or for clauses are handled earlier, you should >> not need to parse identifier to handle RID_DELETE as >> PRAGMA_OACC_CLAUSE_DELETE. > > I forgot about private being a keyword in c++

Re: [gomp4] c++ delete clause

2014-10-20 Thread Cesar Philippidis
On 10/20/2014 01:18 PM, Jakub Jelinek wrote: > On Mon, Oct 20, 2014 at 01:12:08PM -0700, Cesar Philippidis wrote: >> The OpenACC delete clause isn't detected in the c++ front end because >> the lexer classifies it as a keyword, which it is. This patch makes the >> openacc pragma parser aware of tha

Re: [gomp4] c++ delete clause

2014-10-20 Thread Jakub Jelinek
On Mon, Oct 20, 2014 at 01:12:08PM -0700, Cesar Philippidis wrote: > The OpenACC delete clause isn't detected in the c++ front end because > the lexer classifies it as a keyword, which it is. This patch makes the > openacc pragma parser aware of that. > > I've committed this patch to gomp-4_0-bran

[gomp4] c++ delete clause

2014-10-20 Thread Cesar Philippidis
The OpenACC delete clause isn't detected in the c++ front end because the lexer classifies it as a keyword, which it is. This patch makes the openacc pragma parser aware of that. I've committed this patch to gomp-4_0-branch. A test case will be included in a follow up patch along with support for