* [Qemu-devel] [PATCH] tcg: Work around clang bug wrt enum ranges, part 2
@ 2016-02-09 18:48 Richard Henderson
0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2016-02-09 18:48 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-09 18:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 18:48 [Qemu-devel] [PATCH] tcg: Work around clang bug wrt enum ranges, part 2 Richard Henderson
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).