[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v2 06/13] tcg: Work around clang bug wrt enum ran
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PULL v2 06/13] tcg: Work around clang bug wrt enum ranges |
Date: |
Tue, 9 Feb 2016 17:48:46 +0000 |
On 9 February 2016 at 00:01, Richard Henderson <address@hidden> wrote:
> A subsequent patch patch will change the type of REG from int
> to enum TCGReg, which provokes the following bug in clang:
>
> https://llvm.org/bugs/show_bug.cgi?id=16154
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> tcg/tcg.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
It turns out there's another one of these at line 1610
in check_regs(), which I didn't notice in my pre-build
tests because that function is only used ifndef NDEBUG,
and my clang builds both happen to be non-debug builds.
It shows up in travis build logs though:
https://travis-ci.org/qemu/qemu/jobs/108065058
thanks
-- PMM