Re: [committed] Fix latent bug due to peephole2 pass dropping REG_INC notes

2020-05-31 Thread Jeff Law via Gcc-patches
On Mon, 2020-06-01 at 02:28 +0900, Oleg Endo wrote: > Hi Jeff, > > On Sun, 2020-05-31 at 11:20 -0600, Jeff Law via Gcc-patches wrote: > > The peephole2 pass makes some attempt to update various notes, but that > > doesn't > > include REG_INC notes. While I could trivially fix this in the H8 port,

Re: [committed] Fix latent bug due to peephole2 pass dropping REG_INC notes

2020-05-31 Thread Oleg Endo
Hi Jeff, On Sun, 2020-05-31 at 11:20 -0600, Jeff Law via Gcc-patches wrote: > > The peephole2 pass makes some attempt to update various notes, but that > doesn't > include REG_INC notes. While I could trivially fix this in the H8 port, I > wouldn't be terribly surprised if the lack of a REG_INC

[committed] Fix latent bug due to peephole2 pass dropping REG_INC notes

2020-05-31 Thread Jeff Law via Gcc-patches
The H8 recently started regressing 20071219-1.c on the H8/SX with -mint32. I didn't really dig into what change caused the regression. While I recently changed this peephole, it was just collapsing 3 patterns into 1 using mode iterators. So more likely something earlier in the pipeline just cha