On 6/27/24 06:58, Akihiko Odaki wrote:
clang version 18.1.6 assumes a register is 64-bit by default and
complains if a 32-bit value is given. Explicitly specify register width
when passing a 32-bit value.

Signed-off-by: Akihiko Odaki<akihiko.od...@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  tests/tcg/aarch64/bti-1.c | 6 +++---
  tests/tcg/aarch64/bti-3.c | 6 +++---
  2 files changed, 6 insertions(+), 6 deletions(-)

This is true of clang 14 as well, so perhaps remove the version statement 
entirely.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to