[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] qemu/compiler: Split out qemu_build_not_reached_always
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 1/2] qemu/compiler: Split out qemu_build_not_reached_always |
Date: |
Tue, 19 Jan 2021 23:13:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/19/21 7:55 PM, Richard Henderson wrote:
> Provide a symbol that can always be used to signal an error,
> regardless of optimization. Usage of this should be protected
> by e.g. __builtin_constant_p, which guards for optimization.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/qemu/compiler.h | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>