https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125309
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |jakub at gcc dot gnu.org
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is IMO invalid.
E.g. OpenMP 5.1 [299:26-28]:
"During execution of a construct that may be subject to cancellation, a thread
must not encounter an orphaned cancellation point. That is, a cancellation
point must only be encountered within that construct and must not be
encountered elsewhere in its region."