On 07/28/15 08:30, Thomas Schwinge wrote:
I do agree that a copy clause is wrong (expected to fail at runtime), but why do you say an implicit copy clause is created? OpenACC 2.0a, 2.5.1 Parallel Construct, says that »[...] An array or variable of aggregate data type referenced in the parallel construct that does not appear in a data clause for the construct or any enclosing data construct will be treated as if it appeared in a present_or_copy clause for the parallel construct [...]«.
sigh, I thought it was just 'copy' -- I believed the comment in gimplify.c was correct :(
nathan -- Nathan Sidwell