From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PULL 1/5] tcg: Work around clang bug wrt enum ranges, part 2
Date: Mon, 15 Feb 2016 22:29:23 +1100 [thread overview]
Message-ID: <1455535767-28194-2-git-send-email-rth@twiddle.net> (raw)
In-Reply-To: <1455535767-28194-1-git-send-email-rth@twiddle.net>
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 <rth@twiddle.net>
---
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
next prev parent reply other threads:[~2016-02-15 11:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 11:29 [Qemu-devel] [PULL 0/5] tcg queued patches Richard Henderson
2016-02-15 11:29 ` Richard Henderson [this message]
2016-02-15 11:29 ` [Qemu-devel] [PULL 2/5] tcg: Implement indirect memory registers Richard Henderson
2016-02-15 11:29 ` [Qemu-devel] [PULL 3/5] tcg: Allocate indirect_base temporaries in a different order Richard Henderson
2016-02-15 11:29 ` [Qemu-devel] [PULL 4/5] target-sparc: Tidy global register initialization Richard Henderson
2016-02-15 11:29 ` [Qemu-devel] [PULL 5/5] target-sparc: Use global registers for the register window Richard Henderson
2016-02-15 13:04 ` [Qemu-devel] [PULL 0/5] tcg queued patches Peter Maydell
2016-02-15 20:29 ` Richard Henderson
2016-02-15 20:35 ` Peter Maydell
2016-02-15 20:57 ` Richard Henderson
2016-02-16 11:45 ` Peter Maydell
2016-02-23 7:55 ` Richard Henderson
2016-02-23 9:05 ` Peter Maydell
2016-02-16 11:46 ` Peter Maydell
2016-02-23 16:14 ` Richard Henderson
2016-02-23 16:23 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455535767-28194-2-git-send-email-rth@twiddle.net \
--to=rth@twiddle.net \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).