Re: Rework C/C++ OpenACC routine parsing

2016-08-04 Thread Thomas Schwinge
With that changed, committed to trunk in r239128: commit 1fa5d8ba154d3b6a3a0b8233aea4c565a881f312 Author: tschwinge Date: Thu Aug 4 13:35:30 2016 + Rework C/C++ OpenACC routine parsing gcc/c/ * c-parser.c (struct oacc_routine_data): Add error_seen and fndecl

Re: Rework C/C++ OpenACC routine parsing (was: C/C++: Simplify handling of location information for OpenACC routine directives)

2016-07-22 Thread Jakub Jelinek
On Wed, Jul 13, 2016 at 04:10:31PM +0200, Thomas Schwinge wrote: > @@ -14029,29 +14032,32 @@ c_parser_oacc_kernels_parallel (location_t loc, > c_parser *parser, > static void > c_parser_oacc_routine (c_parser *parser, enum pragma_context context) > { > - tree decl = NULL_TREE; > + gcc_checkin

[PING] Rework C/C++ OpenACC routine parsing

2016-07-20 Thread Thomas Schwinge
; Author: Thomas Schwinge > Date: Thu Jun 23 13:28:09 2016 +0200 > > Rework C/C++ OpenACC routine parsing > > gcc/c/ > * c-parser.c (struct oacc_routine_data): Add error_seen and > fndecl_seen members. > (c_finish_oacc_routine): Use these.

Rework C/C++ OpenACC routine parsing (was: C/C++: Simplify handling of location information for OpenACC routine directives)

2016-07-13 Thread Thomas Schwinge
(Further cleanup especially of C++ OpenACC routine handling seems to be possible, but I want to synchronize my work at this point.) commit 0bd30acaf4dd634499b1c695ddee555e7675aa18 Author: Thomas Schwinge Date: Thu Jun 23 13:28:09 2016 +0200 Rework C/C++ OpenACC routine parsing