[Bug fortran/83017] DO CONCURRENT not parallelizing

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 17 09:54:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83017

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, so the correctness issue is that 'tmp' is treated as shared by autopar. 
Clearly while the outer loop iterations are independent the dependence in the
inner loop should make autopar privatize this array.

But this looks like a latent issue to me, regular dependence analysis
should have figured out the tmp = 0 in each iteration makes them
independent on tmp.


More information about the Gcc-bugs mailing list