Re: RFA: avoid infinite lra loop for constant addresses

2021-05-22 Thread Segher Boessenkool
On Tue, May 18, 2021 at 11:52:27AM -0600, Jeff Law via Gcc-patches wrote: > On 5/18/2021 2:56 AM, Joern Rennecke wrote: > >I find that when compiling some files, lra goes into an infinite loop > >reloading constant > >addresses. This patch allows them to just be recognized as matching > >addresse

Re: RFA: avoid infinite lra loop for constant addresses

2021-05-18 Thread Jeff Law via Gcc-patches
On 5/18/2021 2:56 AM, Joern Rennecke wrote: I find that when compiling some files, lra goes into an infinite loop reloading constant addresses. This patch allows them to just be recognized as matching addresses immediately, which also saves a bit of space for a few other files. Bootstrapped a

RFA: avoid infinite lra loop for constant addresses

2021-05-18 Thread Joern Rennecke
I find that when compiling some files, lra goes into an infinite loop reloading constant addresses. This patch allows them to just be recognized as matching addresses immediately, which also saves a bit of space for a few other files. Bootstrapped and regression tested on x86_64-pc-linux-gnu. gcc