[gomp4.1] Various accelerator updates from OpenMP 4.1

Jakub Jelinek jakub@redhat.com
Fri Sep 4 18:25:00 GMT 2015


On Fri, Sep 04, 2015 at 09:07:02PM +0300, Ilya Verbin wrote:
> It seems that there is a bug some here:

Thanks, will look at it on Monday.

> Here is the reproducer:
> 
> #pragma omp declare target
> int a[1];
> #pragma omp end declare target
> 
> void foo ()
> {
>   #pragma omp target map(to: a[0:1])
>     a;
> }

	Jakub



More information about the Gcc-patches mailing list