[Bug c/79940] [6/7 Regression] OpenMP pragma - internal compiler error with taskloop

2017-03-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Wed Mar 8 17:21:06 2017 New Revision: 245980 URL: https://gcc.gnu.org/viewcvs?rev=245980=gcc=rev Log: PR c/79940 * gimplify.c (gimplify_omp_for): Replace index var in

[Bug c/79940] [6/7 Regression] OpenMP pragma - internal compiler error with taskloop

2017-03-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/79940] [6/7 Regression] OpenMP pragma - internal compiler error with taskloop

2017-03-08 Thread aidan.chalk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940 --- Comment #4 from Aidan Chalk --- @Jakub ok - my bad, I had assumed the taskloop was a loop construct, but the bug still exists with an omp single. Re: taskloop not being useful I made the example to test syntax.

[Bug c/79940] [6/7 Regression] OpenMP pragma - internal compiler error with taskloop

2017-03-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940 Richard Biener changed: What|Removed |Added Keywords||openmp Priority|P3

[Bug c/79940] [6/7 Regression] OpenMP pragma - internal compiler error with taskloop

2017-03-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940 --- Comment #3 from Jakub Jelinek --- I'll fix this, that said the testcase certainly is not OpenMP compliant, you have a data race in there, you need to do the taskloop just once, or make sure that in each thread it will write to different

[Bug c/79940] [6/7 Regression] OpenMP pragma - internal compiler error with taskloop

2017-03-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79940 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|