https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104892
Bug ID: 104892 Summary: OpenACC 'kernels' decomposition: wrong-code cases unless manually making certain variables addressable Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openacc, wrong-code Severity: normal Priority: P3 Component: middle-end Assignee: tschwinge at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org Target Milestone: --- Even with the PR100280 etc. ICEs fixed, we still have the problem that we generate wrong code in certain scenarios. For example, see the remark in current 'libgomp.oacc-c-c++-common/kernels-decompose-1.c' that "Without making '[...]' addressable, [...] we will not see the expected value copied out".