Re: [PATCH 1/2] qemu/compiler: Split out qemu_build_not_reached_always

2021-01-19 Thread Philippe Mathieu-Daudé
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 > --- > include/qemu/co

[PATCH 1/2] qemu/compiler: Split out qemu_build_not_reached_always

2021-01-19 Thread Richard Henderson
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 --- include/qemu/compiler.h | 5 +++-- 1 file changed, 3 insertions(+), 2 dele