https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89371
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization, openmp CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, in this case I don't see any advantage of using collapsed loops, it won't make the loop more readable and is much harder to vectorize, so why not to write it that way? Yes, there is certainly room for improvement to undo this kind of stuff.