Re: [PATCH] regrename: Fix -fcompare-debug issue in find_rename_reg [PR103756]

2021-12-30 Thread Jeff Law via Gcc-patches
On 12/29/2021 3:19 AM, Jakub Jelinek wrote: Hi! The r12-5978 change caused a -fcompare-debug issue, because without -g a chain might start with a noop move, but with -g there could be one or more DEBUG_INSNs in the chain before the noop move and so regrename could make different decisions

[PATCH] regrename: Fix -fcompare-debug issue in find_rename_reg [PR103756]

2021-12-29 Thread Jakub Jelinek via Gcc-patches
Hi! The r12-5978 change caused a -fcompare-debug issue, because without -g a chain might start with a noop move, but with -g there could be one or more DEBUG_INSNs in the chain before the noop move and so regrename could make different decisions between -g and -g0. Note, I must say I don't