https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40921 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40921&action=edit gcc7-pr79940.patch Untested fix. Taskloop is a loop construct, but not a worksharing construct, i.e. every (implicit) task encountering the construct will create the taskgroup (as nogroup is not present) and create tasks for the taskloop iterations.