Re: [PATCH] ubsan: Add workaround for missing bitint libubsan support for shifts [PR112941]

2023-12-20 Thread Richard Biener
On Thu, 21 Dec 2023, Jakub Jelinek wrote: > Hi! > > libubsan still doesn't support bitints, so ubsan contains a workaround and > emits value 0 and TK_Unknown kind for those. If shift second operand has > the large/huge _BitInt type, this results in internal errors in libubsan > though, so the

[PATCH] ubsan: Add workaround for missing bitint libubsan support for shifts [PR112941]

2023-12-20 Thread Jakub Jelinek
Hi! libubsan still doesn't support bitints, so ubsan contains a workaround and emits value 0 and TK_Unknown kind for those. If shift second operand has the large/huge _BitInt type, this results in internal errors in libubsan though, so the following patch provides a temporary workaround for that