aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decCommon.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-08-13 17:04:01 +0000
committerDJ Delorie <dj@redhat.com>2009-08-13 17:04:01 +0000
commit626aaf890945123ad73b1d9da5cd8bcc1f22f7ae (patch)
tree929b6553a6bb04c21ea2f088deb7c22ffb036f7b /libdecnumber/decCommon.c
parentb84aa90aa5b2c265030ca85a70a4547f8f893690 (diff)
downloadgdb-626aaf890945123ad73b1d9da5cd8bcc1f22f7ae.zip
gdb-626aaf890945123ad73b1d9da5cd8bcc1f22f7ae.tar.gz
gdb-626aaf890945123ad73b1d9da5cd8bcc1f22f7ae.tar.bz2
merge from gcc
Diffstat (limited to 'libdecnumber/decCommon.c')
-rw-r--r--libdecnumber/decCommon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdecnumber/decCommon.c b/libdecnumber/decCommon.c
index 192b5cf..add1f2e 100644
--- a/libdecnumber/decCommon.c
+++ b/libdecnumber/decCommon.c
@@ -1157,6 +1157,7 @@ uInt decFloatRadix(const decFloat *df) {
return 10;
} /* decFloatRadix */
+#if (DECCHECK || DECTRACE)
/* ------------------------------------------------------------------ */
/* decFloatShow -- printf a decFloat in hexadecimal and decimal */
/* df is the decFloat to show */
@@ -1183,6 +1184,7 @@ void decFloatShow(const decFloat *df, const char *tag) {
printf(">%s> %s [big-endian] %s\n", tag, hexbuf, buff);
return;
} /* decFloatShow */
+#endif
/* ------------------------------------------------------------------ */
/* decFloatToBCD -- get sign, exponent, and BCD8 from a decFloat */