Re: [PATCH] cfgbuild: Fix DEBUG_INSN handling in find_bb_boundaries [PR106719]

2022-12-08 Thread Richard Biener via Gcc-patches
On Thu, Dec 8, 2022 at 11:12 AM Jakub Jelinek via Gcc-patches wrote: > > Hi! > > The following testcase FAILs on aarch64-linux. We have some atomic > instruction followed by 2 DEBUG_INSNs (if -g only of course) followed > by NOTE_INSN_EPILOGUE_BEG followed by some USE insn. > Now, split3 pass rep

[PATCH] cfgbuild: Fix DEBUG_INSN handling in find_bb_boundaries [PR106719]

2022-12-08 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase FAILs on aarch64-linux. We have some atomic instruction followed by 2 DEBUG_INSNs (if -g only of course) followed by NOTE_INSN_EPILOGUE_BEG followed by some USE insn. Now, split3 pass replaces the atomic instruction with a code sequence which ends with a conditional jum