Re: [PATCH] lower-bitint: Fix up lower_addsub_overflow [PR112807]

2023-12-02 Thread Richard Biener
> Am 02.12.2023 um 12:05 schrieb Jakub Jelinek : > > Hi! > > lower_addsub_overflow uses handle_cast or handle_operand to extract current > limb from the operands. Both of those functions heavily assume that they > return a large or huge BITINT_TYPE. The problem in the testcase is that >

[PATCH] lower-bitint: Fix up lower_addsub_overflow [PR112807]

2023-12-02 Thread Jakub Jelinek
Hi! lower_addsub_overflow uses handle_cast or handle_operand to extract current limb from the operands. Both of those functions heavily assume that they return a large or huge BITINT_TYPE. The problem in the testcase is that this is violated. Normally, lower_addsub_overflow isn't even called