Re: [PATCH] PR rtl-optimization/106421: ICE in bypass_block from non-local goto.

2023-01-10 Thread Richard Biener via Gcc-patches
On Mon, Jan 9, 2023 at 8:50 PM Roger Sayle wrote: > > > This patch fixes PR rtl-optimization/106421, an ICE-on-valid (but > undefined) regression. The fix, as proposed by Richard Biener, is to > defend against BLOCK_FOR_INSN returning NULL in cprop's bypass_block. > > This patch has been tested o

[PATCH] PR rtl-optimization/106421: ICE in bypass_block from non-local goto.

2023-01-09 Thread Roger Sayle
This patch fixes PR rtl-optimization/106421, an ICE-on-valid (but undefined) regression. The fix, as proposed by Richard Biener, is to defend against BLOCK_FOR_INSN returning NULL in cprop's bypass_block. This patch has been tested on x86_64-pc-linux-gnu with make bootstrap and make -k check, bo