Re: [PATCH] tree-ssa-math-opts: Fix up ICE in match_uaddc_usubc [PR110508]

2023-07-02 Thread Richard Biener via Gcc-patches
> Am 02.07.2023 um 16:54 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > The match_uaddc_usubc matching doesn't require that the second > .{ADD,SUB}_OVERFLOW has REALPART_EXPR of its lhs used, only that there is > at most one. So, in the weird case where the REALPART_EXPR of it isn't

[PATCH] tree-ssa-math-opts: Fix up ICE in match_uaddc_usubc [PR110508]

2023-07-02 Thread Jakub Jelinek via Gcc-patches
Hi! The match_uaddc_usubc matching doesn't require that the second .{ADD,SUB}_OVERFLOW has REALPART_EXPR of its lhs used, only that there is at most one. So, in the weird case where the REALPART_EXPR of it isn't present, we shouldn't ICE trying to replace that REALPART_EXPR with REALPART_EXPR of