https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107001
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 53618 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53618&action=edit gcc13-pr107001.patch I think it is easiest to treat taskgroup like target data in that we don't use GOMP_RETURN at the end for it, the end is added instead during gimplification into try .. finally, and after omp lowering we don't really need to care if something is or isn't nested in taskgroup.