https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98808
Bug ID: 98808 Summary: [11 regression] test case libgomp.c-c++-common/task-detach-6.c hangs after r11-6752 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- g:a6d22fb21c6f1ad7e8b6b722bfc0e7e11f50cb92, r11-6752 make -k check-target-libgomp RUNTESTFLAGS="c.exp=libgomp.c/../libgomp.c-c++-common/task-detach-6.c" The test case task-detach-6 started hanging with this revision though quite infrequently (averaging one hang in every thousand runs or so). It hangs on powerpc64 both LE and BE though it seems to happen more frequently on BE. Here's an example of one that was hung for over 7 minutes. I first noticed when our auto tester had hung for several days. seurer@hogun:~/gcc/git/build/gcc-test$ date; ps -eo pid,lstart,stat,cmd | grep task-detach-6 Sun Jan 24 09:10:05 CST 2021 39672 Sun Jan 24 09:02:53 2021 Sl+ ./task-detach-6.exe The process state codes are: S interruptible sleep (waiting for an event to complete) l is multi-threaded (using CLONE_THREAD, like NPTL + is in the foreground process group commit a6d22fb21c6f1ad7e8b6b722bfc0e7e11f50cb92 (HEAD) Author: Kwok Cheung Yeung <k...@codesourcery.com> Date: Sat Jan 16 12:58:13 2021 -0800 openmp: Add support for the OpenMP 5.0 task detach clause