Re: [PATCH] tcg: Use uintptr_t in tcg_malloc implementation

2025-07-11 Thread Ilya Leoshkevich
On Thu, 2025-07-10 at 16:50 -0600, Richard Henderson wrote: > Avoid ubsan failure with clang-20, >   tcg.h:715:19: runtime error: applying non-zero offset 64 to null > pointer > by not using pointers. > > Cc: Ilya Leoshkevich > Signed-off-by: Richard Henderson > --- > > Supercedes: 202506181837

Re: [PATCH] tcg: Use uintptr_t in tcg_malloc implementation

2025-07-11 Thread Philippe Mathieu-Daudé
On 11/7/25 00:50, Richard Henderson wrote: Avoid ubsan failure with clang-20, tcg.h:715:19: runtime error: applying non-zero offset 64 to null pointer by not using pointers. Cc: Ilya Leoshkevich Signed-off-by: Richard Henderson --- Supercedes: 20250618183759.9197-1-...@linux.ibm.com ("[PAT

[PATCH] tcg: Use uintptr_t in tcg_malloc implementation

2025-07-10 Thread Richard Henderson
Avoid ubsan failure with clang-20, tcg.h:715:19: runtime error: applying non-zero offset 64 to null pointer by not using pointers. Cc: Ilya Leoshkevich Signed-off-by: Richard Henderson --- Supercedes: 20250618183759.9197-1-...@linux.ibm.com ("[PATCH v2] tcg: Remove NULL arithmetic in tcg_mall