From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
QEMU Developers <qemu-devel@nongnu.org>,
Alex Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH fix for 2.1] makefile: Fix tools compile
Date: Tue, 01 Jul 2014 10:26:54 +0200 [thread overview]
Message-ID: <53B270CE.3050800@redhat.com> (raw)
In-Reply-To: <CAFEAcA81R+VXQ7GuPvSQhqH+j7GSHgsrF8Sng5aXLJ60+dBAwA@mail.gmail.com>
Il 01/07/2014 10:19, Peter Maydell ha scritto:
>> > I think something like "double x; int f(void) {return isnan(sin(x));}"
>> > should be bullet proof.
> This is a compile_prog test, though -- the compiler could spot
> that x and f are both unused, since it has the entire program
> in hand. My suggestion would be:
>
> int main(int argc, char **argv) { return isnan(sin((double)argc)); }
Ok, v2 of the pull request is on the way.
Paolo
prev parent reply other threads:[~2014-07-01 8:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 1:51 [Qemu-devel] [PATCH fix for 2.1] makefile: Fix tools compile Alexey Kardashevskiy
2014-07-01 5:42 ` Alexey Kardashevskiy
2014-07-01 6:52 ` Paolo Bonzini
2014-07-01 8:19 ` Peter Maydell
2014-07-01 8:26 ` Paolo Bonzini [this message]
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=53B270CE.3050800@redhat.com \
--to=pbonzini@redhat.com \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.