[Bug libgomp/98738] task-detach-6.f90 hangs intermittently

2021-03-11 Thread kcy at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98738 --- Comment #15 from Kwok Yeung --- (In reply to Thomas Schwinge from comment #13) > Kwok, it seems -- at least in my testing -- that your latest commit > d656bfda2d8316627d0bbb18b10954e6aaf3c88c "openmp: Fix intermittent hanging > of task-detach

[Bug libgomp/98738] task-detach-6.f90 hangs intermittently

2021-01-21 Thread kcy at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98738 --- Comment #9 from Kwok Yeung --- I have a patch for this now. In addition to posting other semaphores in omp_fulfill_event, GOMP_taskwait also needs to be made aware of detached tasks. Also, task_running_count should not include completed tasks

[Bug libgomp/98738] task-detach-6.f90 hangs intermittently

2021-01-19 Thread kcy at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98738 --- Comment #6 from Kwok Yeung --- It seems to be the '#pragma omp taskwait' inside the parallel region that is causing the intermittent hang - if you add it to task-detach-5.c, the hang also happens there (i.e. the target construct is not the pr

[Bug fortran/95869] ICE when "target parallel" construct used with "if" clause in Fortran

2020-06-25 Thread kcy at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95869 Kwok Yeung changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/95869] ICE when "target parallel" construct used with "if" clause in Fortran

2020-06-25 Thread kcy at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95869 --- Comment #2 from Kwok Yeung --- Tobias has a small fix for the ICE at: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/548864.html I will get this committed after checking for regressions.

[Bug fortran/95869] New: ICE when "target parallel" construct used with "if" clause in Fortran

2020-06-24 Thread kcy at codesourcery dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: kcy at codesourcery dot com Target Milestone: --- Compiling the following program results in an ICE: program target_parallel_if implicit none integer,

[Bug fortran/83515] ICE: Invalid expression in gfc_element_size

2019-03-20 Thread kcy at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83515 Kwok Yeung changed: What|Removed |Added CC||kcy at codesourcery dot com --- Comment #9