Re: [PATCH] tree-ssa-dce: Avoid creating invalid BBs with no outgoing edge (PR117892)

2025-01-28 Thread Richard Biener
On Tue, 28 Jan 2025, Martin Jambor wrote: > Hi, > > On Tue, Jan 28 2025, Richard Biener wrote: > > On Mon, 27 Jan 2025, Martin Jambor wrote: > > > >> Hi, > >> > >> Zhendong Su and Michal Jireš found out that our gimple DSE pass can, > >> under fairly specific conditions, remove a noreturn call w

Re: [PATCH] tree-ssa-dce: Avoid creating invalid BBs with no outgoing edge (PR117892)

2025-01-28 Thread Martin Jambor
Hi, On Tue, Jan 28 2025, Richard Biener wrote: > On Mon, 27 Jan 2025, Martin Jambor wrote: > >> Hi, >> >> Zhendong Su and Michal Jireš found out that our gimple DSE pass can, >> under fairly specific conditions, remove a noreturn call which then >> leaves behind a "normal" BB with no successor ed

Re: [PATCH] tree-ssa-dce: Avoid creating invalid BBs with no outgoing edge (PR117892)

2025-01-28 Thread Richard Biener
On Mon, 27 Jan 2025, Martin Jambor wrote: > Hi, > > Zhendong Su and Michal Jireš found out that our gimple DSE pass can, > under fairly specific conditions, remove a noreturn call which then > leaves behind a "normal" BB with no successor edges which following > passes do not expect. This patch

[PATCH] tree-ssa-dce: Avoid creating invalid BBs with no outgoing edge (PR117892)

2025-01-27 Thread Martin Jambor
Hi, Zhendong Su and Michal Jireš found out that our gimple DSE pass can, under fairly specific conditions, remove a noreturn call which then leaves behind a "normal" BB with no successor edges which following passes do not expect. This patch simply tells the pass to leave such calls alone even wh