Re: [PATCH] ree: Fix -fcompare-debug issues in combine_reaching_defs [PR108573]

2023-02-01 Thread Richard Biener via Gcc-patches
On Wed, 1 Feb 2023, Jakub Jelinek wrote: > Hi! > > The PR78437 r7-4871 changes made combine_reaching_defs punt on > WORD_REGISTER_OPERATIONS targets if a setter of smaller than word > register has wider uses. This unfortunately breaks -fcompare-debug, > because if such a use appears only in

[PATCH] ree: Fix -fcompare-debug issues in combine_reaching_defs [PR108573]

2023-02-01 Thread Jakub Jelinek via Gcc-patches
Hi! The PR78437 r7-4871 changes made combine_reaching_defs punt on WORD_REGISTER_OPERATIONS targets if a setter of smaller than word register has wider uses. This unfortunately breaks -fcompare-debug, because if such a use appears only in DEBUG_INSN(s), while all other uses aren't wider than the