[Bug c/106981] [10/11/12/13 Regression][OpenACC][OpenMP] ICE in decompose, at wide-int.h:984 with '#pragma omp/acc atomic capture'

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 21 13:36:39 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106981

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yes, this is certainly not valid OpenMP, if in the syntax x or expr or r
appears multiple times, then each occurence needs to be the exact same set of
tokens and
due to the
"During the execution of an atomic region, multiple syntactic occurrences of
{x,expr,r} must designate the same storage location."
restrictions must be the same thing at runtime too.


More information about the Gcc-bugs mailing list