Re: [PATCH] cfgcleanup: Fix -fcompare-debug issue in outgoing_edges_match [PR100254]

2021-04-27 Thread Richard Biener
On Tue, 27 Apr 2021, Jakub Jelinek wrote: > Hi! > > The following testcase fails with -fcompare-debug. The problem is that > outgoing_edges_match behaves differently between -g0 and -g, if > some load/store with REG_EH_REGION is followed by DEBUG_INSNs, the > REG_EH_REGION check is not done, whi

[PATCH] cfgcleanup: Fix -fcompare-debug issue in outgoing_edges_match [PR100254]

2021-04-27 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase fails with -fcompare-debug. The problem is that outgoing_edges_match behaves differently between -g0 and -g, if some load/store with REG_EH_REGION is followed by DEBUG_INSNs, the REG_EH_REGION check is not done, while when there are no DEBUG_INSNs, it is done. We alrea