Re: [PATCH] bitintlower: Fix .{ADD,SUB}_OVERFLOW lowering [PR114040]

2024-02-23 Thread Richard Biener
On Fri, 23 Feb 2024, Jakub Jelinek wrote: > Hi! > > The following testcases show 2 bugs in the .{ADD,SUB}_OVERFLOW lowering, > both related to storing of the REALPART_EXPR part of the result. > On the first testcase prec is 255, prec_limbs is 4 and for the second limb > in the loop the store of

[PATCH] bitintlower: Fix .{ADD,SUB}_OVERFLOW lowering [PR114040]

2024-02-23 Thread Jakub Jelinek
Hi! The following testcases show 2 bugs in the .{ADD,SUB}_OVERFLOW lowering, both related to storing of the REALPART_EXPR part of the result. On the first testcase prec is 255, prec_limbs is 4 and for the second limb in the loop the store of the REALPART_EXPR of .USUBC (_30) is stored through: