On Thu, Jan 14, 2016 at 03:02:28PM -0800, Cesar Philippidis wrote:
> > Is this a case of the Fortran FE OpenACC bits not annotating some
> > artificial object correctly?
> 
> I don't think it's specific to fortran. You can have reference types in
> c++ too. Actually, Jakub's comment reminded me to create a test case for
> c++, and it turns out that the c++ FE does not like any reference types
> in openacc data clauses at all. At this point, I'm reasonably confident
> that this issue is independent from the c++ issue.
> 
> Is this patch ok for trunk? C++ support is still a work in progress, and
> I'll address that in a follow up patch.

LGTM, so if Nathan is ok with that too, it is ok for trunk.

> 2016-01-14  Cesar Philippidis  <ce...@codesourcery.com>
> 
>       gcc/
>       * gimplify.c (oacc_default_clause): Decode reference and pointer
>       types for both kernels and parallel regions.
> 
>       libgomp/
>       * testsuite/libgomp.oacc-fortran/kernels-data.f90: New test.

        Jakub

Reply via email to