Re: [gomp4] openacc default handling

2015-08-03 Thread Thomas Schwinge
Hi! On Wed, 29 Jul 2015 19:13:01 -0400, Nathan Sidwell wrote: > gcc/ > * gimplify.c (oacc_default_clause): Outer scope searching moved to > omp_notice_variable. > (omp_notice_variable): For OpenACC search enclosing scopes before > applying default. Committed to gomp

[gomp4] openacc default handling

2015-07-29 Thread Nathan Sidwell
I've committed this to gomp4. When I broke out the oacc_default_clause function from omp_notice_variable, I was puzzled by the ordering of the lookups, but could quite figure out what was wrong. further investigation and standard reading showed that for openacc, we look in outer lexical scop