Richard Henderson <richard.hender...@linaro.org> writes:

> Clang 14, with --enable-tcg-interpreter errors with
>
> include/qemu/int128.h:487:16: error: alignment of field 'i' (128 bits)
>   does not match the alignment of the first field in transparent union;
>   transparent_union attribute ignored [-Werror,-Wignored-attributes]
>     __int128_t i;
>                ^
> include/qemu/int128.h:486:12: note: alignment of first field is 64 bits
>     Int128 s;
>            ^
> 1 error generated.
>
> By placing the __uint128_t member first, this is avoided.
>
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>

Reviewed-by: Alex Bennée <alex.ben...@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to