Re: [PATCH] tree-optimization/98845 - ICE with tail-merging and DCE/DSE disabled

2025-02-17 Thread Richard Biener
On Mon, 17 Feb 2025, Richard Biener wrote: > The following shows that tail-merging will make dead SSA defs live > in paths where it wasn't before, possibly introducing UB or as > in this case, uses of abnormals that eventually fail coalescing > later. The fix is to register such defs for stmt com

[PATCH] tree-optimization/98845 - ICE with tail-merging and DCE/DSE disabled

2025-02-17 Thread Richard Biener
The following shows that tail-merging will make dead SSA defs live in paths where it wasn't before, possibly introducing UB or as in this case, uses of abnormals that eventually fail coalescing later. The fix is to register such defs for stmt comparison. Bootstrap and regtest running on x86_64-un