From: Cleber Rosa <crosa@redhat.com>
To: qemu-devel@nongnu.org
Cc: Cleber Rosa <crosa@redhat.com>
Subject: [Qemu-devel] [PATCH 6/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=unused-const-variable=
Date: Wed, 2 Aug 2017 16:15:12 -0400 [thread overview]
Message-ID: <20170802201512.29142-7-crosa@redhat.com> (raw)
In-Reply-To: <20170802201512.29142-1-crosa@redhat.com>
A clean up of unused code to make the compiler happy.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
tests/tcg/test-i386-fprem.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/tests/tcg/test-i386-fprem.c b/tests/tcg/test-i386-fprem.c
index f70363d..1dceda0 100644
--- a/tests/tcg/test-i386-fprem.c
+++ b/tests/tcg/test-i386-fprem.c
@@ -54,14 +54,6 @@ union float80u {
#define IEEE854_LONG_DOUBLE_BIAS 0x3fff
-static const union float80u q_nan = {
- .ieee_nan.negative = 0, /* X */
- .ieee_nan.exponent = 0x7fff,
- .ieee_nan.one = 1,
- .ieee_nan.quiet_nan = 1,
- .ieee_nan.mantissa = 0,
-};
-
static const union float80u s_nan = {
.ieee_nan.negative = 0, /* X */
.ieee_nan.exponent = 0x7fff,
@@ -91,13 +83,6 @@ static const union float80u pos_denorm = {
.ieee.mantissa = 1,
};
-static const union float80u smallest_positive_norm = {
- .ieee.negative = 0,
- .ieee.exponent = 1,
- .ieee.one = 1,
- .ieee.mantissa = 0,
-};
-
static void fninit(void)
{
asm volatile ("fninit\n");
--
2.9.4
prev parent reply other threads:[~2017-08-02 20:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 20:15 [Qemu-devel] [PATCH 0/6] Enable building and running tcg tests on i386 Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 1/6] tests/tcg/test_path.c: include utils/bufferiszero.c Cleber Rosa
2017-08-02 21:36 ` Philippe Mathieu-Daudé
2017-08-02 22:24 ` Cleber Rosa
2017-08-17 13:26 ` Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 2/6] tests/tcg/linux-test.c: remove unused include of "qemu/cutils.h" Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 3/6] tests/tcg/linux-test.c: include definitions for getrusage() Cleber Rosa
2017-08-02 21:28 ` Philippe Mathieu-Daudé
2017-08-02 21:37 ` Philippe Mathieu-Daudé
2017-08-02 20:15 ` [Qemu-devel] [PATCH 4/6] tests/tcg/test-i386-fprem: build with $(QEMU_CFLAGS) Cleber Rosa
2017-08-02 20:15 ` [Qemu-devel] [PATCH 5/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=strict-prototype Cleber Rosa
2017-08-02 20:15 ` Cleber Rosa [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=20170802201512.29142-7-crosa@redhat.com \
--to=crosa@redhat.com \
--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.