Re: [PATCH] tree-ssa-math-opts: Fix up match_uaddc_usubc [PR111845]

2023-10-18 Thread Richard Biener
On Wed, 18 Oct 2023, Jakub Jelinek wrote: > Hi! > > GCC ICEs on the first testcase. Successful match_uaddc_usubc ends up with > some dead stmts which DCE will remove (hopefully) later all. > The ICE is because one of the dead stmts refers to a freed SSA_NAME. > The code already gsi_removes a cou

[PATCH] tree-ssa-math-opts: Fix up match_uaddc_usubc [PR111845]

2023-10-18 Thread Jakub Jelinek
Hi! GCC ICEs on the first testcase. Successful match_uaddc_usubc ends up with some dead stmts which DCE will remove (hopefully) later all. The ICE is because one of the dead stmts refers to a freed SSA_NAME. The code already gsi_removes a couple of stmts in the /* Remove some statements which c