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.