https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83017
--- Comment #3 from Christian Felter <cfztol at hotmail dot com> --- Ultimately, I wanted to compute k like this k = permutation( j ) where permutation is a 1D array of integers (from 1 to 4, e.g. [ 1, 4, 2, 1, 3, ... etc] ). This would allow an easy way of parallelizing the so-called "finite element assembly procedure". But I guess, this case is even harder. Clearly, I must have misunderstood the requirements for DO CONCURRENT... Maybe they could be relaxed ?