[gomp4] Support C++ "this" in OpenACC directives

Jakub Jelinek jakub@redhat.com
Wed Jun 10 11:46:00 GMT 2015


On Wed, Jun 10, 2015 at 11:38:25AM +0000, Joseph Myers wrote:
> This patch, for gomp-4_0-branch, adds support for C++ "this" in
> OpenACC directives.  (This patch does not do anything to handle OpenMP
> differently from OpenACC; that - bug 66053 - will need to be resolved
> for mainline, either deciding these cases should be accepted for
> OpenMP or making the parsing only accept them in OpenACC directives
> and not OpenMP ones.)

For OpenMP 4.1, this is being considered as allowed (both alone or
supposedly in some cases also for array sections (like this[0],
this[:1] or this[0:1]) to a subset of clauses, but what exact clauses
will it be allowed on and the exact wording is a matter of hopefully next
few weeks.

	Jakub



More information about the Gcc-patches mailing list