[committed] Fix OpenMP class iterators in distribute parallel for (PR c++/86443)

2018-07-10 Thread Jakub Jelinek
Hi! While working on OpenMP 5.0 range-for support, I've discovered that even for normal class iterators distribute parallel for gimplification ICEs in several ways (other composite loop constructs work only because class iterators are not allowed on them). The problem is that the FEs emit the cod

Re: [committed] Fix OpenMP class iterators in distribute parallel for (PR c++/86443)

2018-07-11 Thread Jakub Jelinek
On Tue, Jul 10, 2018 at 09:18:18AM +0200, Jakub Jelinek wrote: > Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. I found two small issues and one big issue (results being declare target) which break the test if using non-shared memory offloading. This should fix it, tes