https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98738
Bug ID: 98738
Summary: task-detach-6.f90 hangs intermittently
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: iii at linux dot ibm.com
CC: jakub at gcc dot gnu.org
Target Milestone: ---
I'm currently on commit 2e43880dbd4c. Building task-detach-6.exe and running
it in a loop eventually leads to a hang (might take a while, during the last
run it happened after 7k runs):
gcc/build/x86_64-pc-linux-gnu/libgomp/testsuite$ while true; do
LD_LIBRARY_PATH=../../../../install/lib64 ./task-detach-6.exe; echo -n .; done
I first spotted this on s390 and then checked on x86_64; the issue is
reproducible on both.