Re: [gomp5] Iterator fixes

2018-08-02 Thread Marek Polacek
On Thu, Aug 02, 2018 at 08:28:22PM +0200, Jakub Jelinek wrote: > --- gcc/c/c-typeck.c.jj 2018-08-01 17:00:46.329549760 +0200 > +++ gcc/c/c-typeck.c 2018-08-02 18:57:31.969477582 +0200 > @@ -13112,6 +13112,7 @@ c_omp_finish_iterators (tree iter) >tree begin = TREE_VEC_ELT (it, 1); >

[gomp5] Iterator fixes

2018-08-02 Thread Jakub Jelinek
Hi! Another thing being voted into OpenMP 5.0 these days are clarifications for iterators - step must be integral, and whether it is > 0 determines if it iterates up or down, so one can use downward iterators even with unsigned iterator type, either just use signed negative step constant, or some