re PR c/41046 (decNumber leaves printf call in libgcc)

PR c/41046
	* decCommon.c ( decFloatShow): Define function only for DECCHECK
	or DECTRACE.

From-SVN: r150721
This commit is contained in:
Janis Johnson 2009-08-13 16:58:06 +00:00 committed by Janis Johnson
parent ba675ba19a
commit 5b3551c7a3
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-08-13 Janis Johnson <janis187@us.ibm.com>
PR c/41046
* decCommon.c ( decFloatShow): Define function only for DECCHECK
or DECTRACE.
2009-07-22 Release Manager
* GCC 4.4.1 released.

View File

@ -1089,6 +1089,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 */
@ -1115,6 +1116,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 */