On Sat, Dec 14, 2019 at 12:06:36AM +0900, Oleg Endo wrote: > On Fri, 2019-12-13 at 15:57 +0100, John Paul Adrian Glaubitz wrote: > > Hello Segher!
Hi :-) > > > 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. Right; there probably are some things that fail in LRA (that do not fail without it), as well. The question is just if it is good enough to switch now -- LRA has a bright future, old reload is fossilised, it is clear which of the two is the way forward. For Power it took a loooong time before we could switch. Hopefully it is much less work now (LRA itself has improved a lot since). Segher