Received: from eggs.gnu.org ([2001:4830:134:3::10]:37531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHmO-0001V8-O4 for qemu-devel@nongnu.org; Tue, 23 Feb 2016 13:33:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYHmK-0001JC-K1 for qemu-devel@nongnu.org; Tue, 23 Feb 2016 13:33:48 -0500 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:35311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHmK-0001J1-FX for qemu-devel@nongnu.org; Tue, 23 Feb 2016 13:33:44 -0500 Received: by mail-qk0-x22d.google.com with SMTP id o6so71746107qkc.2 for ; Tue, 23 Feb 2016 10:33:44 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Tue, 23 Feb 2016 10:33:02 -0800 Message-Id: <1456252389-4416-2-git-send-email-rth@twiddle.net> In-Reply-To: <1456252389-4416-1-git-send-email-rth@twiddle.net> References: <1456252389-4416-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 1/8] tcg: Work around clang bug wrt enum ranges, part 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org A previous patch patch changed 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 --- tcg/tcg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 0317c9e..664e8e1 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -1602,7 +1602,7 @@ static void dump_regs(TCGContext *s) static void check_regs(TCGContext *s) { - TCGReg reg; + int reg; int k; TCGTemp *ts; char buf[64]; -- 2.5.0