https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109587
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #6 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Richard Biener from comment #5) > > Why? You can try -fno-tree-pre -fno-tree-loop-im -fno-predictive-commoning Note that while at -O2 just -fno-tree-loop-im is enough, at -O3 one also needs -fno-gcse, which otherwise seems to perform unrestricted hoisting of loop invariants at RTL level.