[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 64/437: avoid "value computed is not used" in jit_alloca
From: |
Andy Wingo |
Subject: |
[Guile-commits] 64/437: avoid "value computed is not used" in jit_allocai |
Date: |
Mon, 2 Jul 2018 05:13:47 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 15a23d2a7c5ad2b3a29817a29ba59c47f0d60674
Author: Paolo Bonzini <address@hidden>
Date: Sun Mar 16 20:45:27 2008 +0100
avoid "value computed is not used" in jit_allocai
2008-03-14 Paolo Bonzini <address@hidden>
* lightning/i386/core-32.h: Avoid some "value computed is not used"
warnings; reported by Sam Steingold.
---
ChangeLog | 5 +++++
lightning/i386/core-32.h | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5cfff68..c4e2001 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-14 Paolo Bonzini <address@hidden>
+
+ * lightning/i386/core-32.h: Avoid some "value computed is not used"
+ warnings; reported by Sam Steingold.
+
2008-03-08 Paolo Bonzini <address@hidden>
* lightning/i386/core-32.h: Fix stxr_c(_EAX, _EBX, _ESI).
diff --git a/lightning/i386/core-32.h b/lightning/i386/core-32.h
index 09e7f5f..34c9117 100644
--- a/lightning/i386/core-32.h
+++ b/lightning/i386/core-32.h
@@ -54,8 +54,8 @@ struct jit_local_state {
#define jit_allocai_internal(amount, slack) \
(((amount) < _jitl.alloca_slack \
- ? 0
\
- : (_jitl.alloca_slack += (amount) + (slack), \
+ ? (void)0 \
+ : (void)(_jitl.alloca_slack += (amount) + (slack), \
((amount) + (slack) == sizeof (int) \
? PUSHLr(_EAX) \
: SUBLir((amount) + (slack), _ESP)))), \
- [Guile-commits] 49/437: add clean-local target to lightning/Makefile.am, (continued)
- [Guile-commits] 49/437: add clean-local target to lightning/Makefile.am, Andy Wingo, 2018/07/02
- [Guile-commits] 56/437: fix i386 floating-point sub(a,0,a), Andy Wingo, 2018/07/02
- [Guile-commits] 54/437: add 3to2 test and fix bug, Andy Wingo, 2018/07/02
- [Guile-commits] 52/437: improve set* encoding for i386, add testcase, Andy Wingo, 2018/07/02
- [Guile-commits] 57/437: don't truncate function pointers on amd64, Andy Wingo, 2018/07/02
- [Guile-commits] 68/437: cast memory address to long for JCCim, Andy Wingo, 2018/07/02
- [Guile-commits] 59/437: add --with-lightning-prefix option to lightning.m4, Andy Wingo, 2018/07/02
- [Guile-commits] 67/437: add underscores around __unused__ attribute, Andy Wingo, 2018/07/02
- [Guile-commits] 65/437: fix some problems (not all) with lightningize, Andy Wingo, 2018/07/02
- [Guile-commits] 63/437: Fix stxr_c(_EAX, _EBX, _ESI)., Andy Wingo, 2018/07/02
- [Guile-commits] 64/437: avoid "value computed is not used" in jit_allocai,
Andy Wingo <=
- [Guile-commits] 66/437: warning patrol (allocai.c, ppc), Andy Wingo, 2018/07/02
- [Guile-commits] 75/437: fix uses of jit_qop_ with 4 parameters, Andy Wingo, 2018/07/02
- [Guile-commits] 61/437: avoid redefinition of _r1, Andy Wingo, 2018/07/02
- [Guile-commits] 73/437: add LEAQmr for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 82/437: use MOVLir directly to implement i386 32-bit jit_movi_p, Andy Wingo, 2018/07/02
- [Guile-commits] 72/437: misc. x86-64 bugfixes, Andy Wingo, 2018/07/02
- [Guile-commits] 78/437: avoid CRLF issues on mingw, Andy Wingo, 2018/07/02
- [Guile-commits] 62/437: commit source files for separate using/porting manuals, Andy Wingo, 2018/07/02
- [Guile-commits] 80/437: fix C++ incompatibility in i386 back-end, Andy Wingo, 2018/07/02
- [Guile-commits] 45/437: add floating-point for x86-64, Andy Wingo, 2018/07/02