Re: [PATCH] fold-const: Fix up multiple_of_p [PR112733]

2023-11-29 Thread Richard Biener
> Am 29.11.2023 um 09:29 schrieb Jakub Jelinek : > > Hi! > > We ICE on the following testcase when wi::multiple_of_p is called on > widest_int 1 and -128 with UNSIGNED. I still need to work on the > actual wide-int.cc issue, the latest patch attached to the PR regressed > bitint-{38,39}.c,

Re: [PATCH] fold-const: Fix up multiple_of_p [PR112733]

2023-11-29 Thread Richard Sandiford
Jakub Jelinek writes: > Hi! > > We ICE on the following testcase when wi::multiple_of_p is called on > widest_int 1 and -128 with UNSIGNED. I still need to work on the > actual wide-int.cc issue, the latest patch attached to the PR regressed > bitint-{38,39}.c, so will need to debug that, but

[PATCH] fold-const: Fix up multiple_of_p [PR112733]

2023-11-29 Thread Jakub Jelinek
Hi! We ICE on the following testcase when wi::multiple_of_p is called on widest_int 1 and -128 with UNSIGNED. I still need to work on the actual wide-int.cc issue, the latest patch attached to the PR regressed bitint-{38,39}.c, so will need to debug that, but there is a clear bug on the