https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129146
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Keywords| |patch
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-12-01
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed reporter's analysis in libgomp/task.c: omp_fulfill_event decrements
team->task_count before inspecting task_detach_count and unlocking task_lock,
creating a race where gomp_team_barrier_wait_final and gomp_team_end can
destroy or reuse the team before the unlock completes. Reporter submitted a fix
to gcc-patches.