https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83464
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olegendo at gcc dot gnu.org --- Comment #8 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to John Paul Adrian Glaubitz from comment #6) > (In reply to Oleg Endo from comment #5) > > I'm not sure this is an acceptable solution. It disables various other > > optimizations and reduces in worse code than normally should be. When you > > rebuild all of debian with LRA enabled, please make sure to take out any > > such hacks. > > It's not a solution, it was a work-around. > > FWIW, I have tried to build the package with the gcc-10 package from Debian > (which is a recent snapshot) and -mlra, but so far cmake doesn't want to > accept gcc-10 as the build compiler when set with export CC/CXX, so I have > to poke around what the problem is. > > I will report back once I have a result. Adrian, could you please re-check this issue with latest version of https://github.com/olegendo/gcc/tree/devel/sh-lra ?