qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Richard Henderson <rth@twiddle.net>
Cc: QEMU Developers <qemu-devel@nongnu.org>
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	[thread overview]
Message-ID: <CAFEAcA-MuN=+3=mCZJhy1ZuSNUMns6qgCvqd4bSVYr+ewJjpPQ@mail.gmail.com> (raw)
In-Reply-To: <1454976074-29220-2-git-send-email-rth@twiddle.net>

On 9 February 2016 at 00:01, Richard Henderson <rth@twiddle.net> 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 <rth@twiddle.net>
> ---
>  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

  reply	other threads:[~2016-02-09 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09  0:01 [Qemu-devel] [PULL v2 00/13] TCG patch queue Richard Henderson
2016-02-09  0:01 ` [Qemu-devel] [PULL v2 06/13] tcg: Work around clang bug wrt enum ranges Richard Henderson
2016-02-09 17:48   ` Peter Maydell [this message]
2016-02-09 10:43 ` [Qemu-devel] [PULL v2 00/13] TCG patch queue 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='CAFEAcA-MuN=+3=mCZJhy1ZuSNUMns6qgCvqd4bSVYr+ewJjpPQ@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).