https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97810
Bug ID: 97810
Summary: [OpenACC] [C/C++] Decide about 'acc atomic update
capture' – remove support or keep it
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: openacc
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
CC: tschwinge at gcc dot gnu.org
Target Milestone: ---
OpenACC between 2.5 and 3.0 permits
#pragma acc atomic update capture'
structured-block
For OpenACC 3.1, it was decided that this is a copy'n'paste error and it should
have been 'acc atomic capture' instead (i.e. no 'update' before 'capture').
(The Fortran version of the spec never supported '!$acc atomic update
capture'.)
GCC 11 added support for 'update capture' (in C/C++ only) as alias for
'capture'.
Question: Should the support be removed again?
See OpenACC 3.1 spec, once released, and (nonpublic) issue
https://github.com/OpenACC/openacc-spec/issues/333