On 2/4/19 3:43 PM, Paolo Bonzini wrote: > The iteration was stopping as soon as prev_var was set to NULL, and > therefore it skipped the first element. Fortunately, or unfortunately, > we have only one use of QTAILQ_FOREACH_REVERSE_SAFE. Thus this only > showed up as incorrect register preferences on the very first translation > block that was compiled. > > Reported-by: Thomas Huth <th...@redhat.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > include/qemu/queue.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~