On Fri, 2019-12-13 at 15:57 +0100, John Paul Adrian Glaubitz wrote: > Hello Segher! > > > With LRA, sh builds fine (with the combine2 patches). I have no idea > > if correct code is generated, but it doesn't ICE anymore. > > What are the combine2 patches?
See the other thread that I've linked in my message. > And I would support switching SH to LRA as > there are a few cases (Debian packages) where GCC fails with an internal > compiler error which I reported to the GCC bugzilla. Have you tried rebuilding debian on/for SH with -mlra enabled for *everything*? Do you have an easy way of doing that? It would be interesting to see how it goes. Cheers, Oleg