Re: [PATCH] tree-ssa-dce: Punt on allocations with too large constant sizes [PR118224]

2025-01-03 Thread Richard Biener
> Am 03.01.2025 um 22:48 schrieb Jakub Jelinek : > > Hi! > > As suggested by Richi in the PR, the following patch will fail to DCE > allocation calls if they have constant size which is too large (over > PTRDIFF_MAX), or for the case of calloc, if either of the arguments > is too large (in th

[PATCH] tree-ssa-dce: Punt on allocations with too large constant sizes [PR118224]

2025-01-03 Thread Jakub Jelinek
Hi! As suggested by Richi in the PR, the following patch will fail to DCE allocation calls if they have constant size which is too large (over PTRDIFF_MAX), or for the case of calloc, if either of the arguments is too large (in that case in theory the call could succeed if the other argument is va