Re: [PATCH] reg-stack: Fix a -fcompare-debug bug in reg-stack [PR107183]

2022-11-20 Thread Jeff Law via Gcc-patches
On 11/19/22 02:15, Jakub Jelinek wrote: Hi! As the following testcase shows, the swap_rtx_condition function in reg-stack can result in different code generation between -g and -g0. The function is doing the changes as it goes, so does analysis and changes together, which makes it harder to

[PATCH] reg-stack: Fix a -fcompare-debug bug in reg-stack [PR107183]

2022-11-19 Thread Jakub Jelinek via Gcc-patches
Hi! As the following testcase shows, the swap_rtx_condition function in reg-stack can result in different code generation between -g and -g0. The function is doing the changes as it goes, so does analysis and changes together, which makes it harder to deal with DEBUG_INSNs, where normally