https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104784
Bug ID: 104784
Summary: OpenACC 'kernels' decomposition: C vs. C++ differences
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: openacc
Severity: minor
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: tschwinge at gcc dot gnu.org
Target Milestone: ---
We have found cases where OpenACC 'kernels' decomposition handles C vs. C++
differently. That's not a problem per se, but it causes different diagnostics
(if enabled), and we'd generally at least like to understand the reason for the
differences.
I'll push a commit demonstrating this for a few test cases, pointing to this
PR.