On 25/10/22 01:24, Richard Henderson wrote:
This differs from assert, in that with optimization enabled it triggers at build-time. It differs from QEMU_BUILD_BUG_ON, aka _Static_assert, in that it is sensitive to control flow and is subject to dead-code elimination.Signed-off-by: Richard Henderson <richard.hender...@linaro.org> --- include/qemu/osdep.h | 8 ++++++++ 1 file changed, 8 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>