Add 'libgomp.oacc-c-c++-common/struct-copyout-{1, 2}.c' (was: [PATCH 1/3] OpenACC "exit data" copyout for struct members)

2020-06-05 Thread Thomas Schwinge
Hi! On 2020-06-04T06:40:53-0700, Julian Brown wrote: > [...] I've added a couple of new testcases to verify the behaviour > (which fail without the patch). Thanks. Given the preparational patches pushed yesterday, these now PASS already. > * testsuite/libgomp.oacc-c-c++-common/struct-cop

[PATCH 1/3] OpenACC "exit data" copyout for struct members

2020-06-04 Thread Julian Brown
This patch removes unnecessary special-case code in oacc-mem.c which prevented copy-back of structure members on OpenACC "exit data" directives. I've added a couple of new testcases to verify the behaviour (which fail without the patch). (On editing this mail, I notice I omitted to add a comment