Re: [PATCH] rtl-ssa: Fix -fcompare-debug failure [PR100303]

2021-04-29 Thread Richard Biener via Gcc-patches
On Wed, Apr 28, 2021 at 9:07 PM Richard Sandiford via Gcc-patches wrote: > > This patch fixes an oversight in the handling of debug instructions > in rtl-ssa. At the moment (and whether this is a good idea or not > remains to be seen), we maintain a linear RPO sequence of definitions > and non-de

[PATCH] rtl-ssa: Fix -fcompare-debug failure [PR100303]

2021-04-28 Thread Richard Sandiford via Gcc-patches
This patch fixes an oversight in the handling of debug instructions in rtl-ssa. At the moment (and whether this is a good idea or not remains to be seen), we maintain a linear RPO sequence of definitions and non-debug uses. If a register is defined more than once, we use a degenerate phi to reest