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 <i...@linux.ibm.com>
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
> ---
> 
> Supercedes: 20250618183759.9197-1-...@linux.ibm.com
> ("[PATCH v2] tcg: Remove NULL arithmetic in tcg_malloc()")
> 
> Ilya, I think I prefer this solution to &dummy_pool.
> What do you think?
> 
> 
> r~
> 
> ---
>  include/tcg/tcg.h | 6 +++---
>  tcg/tcg.c         | 9 +++++----
>  2 files changed, 8 insertions(+), 7 deletions(-)

Acked-by: Ilya Leoshkevich <i...@linux.ibm.com>

Reply via email to