summaryrefslogtreecommitdiff
path: root/gcc/wide-int-print.h
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-16 23:22:42 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-16 23:22:42 +0000
commite84f6f9669af1cb583b4946dbfebbfd5bcd20450 (patch)
treef93d4da240b2ebdc73a9286d43f4802553563c1a /gcc/wide-int-print.h
parent5597e838f7b917b37cfa6a67aa7dfdf8ca27d6f3 (diff)
downloadgcc-e84f6f9669af1cb583b4946dbfebbfd5bcd20450.tar.gz
Bump up buffer for printing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@206034 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/wide-int-print.h')
-rw-r--r--gcc/wide-int-print.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/wide-int-print.h b/gcc/wide-int-print.h
index be93cd1ecf5..af0751760af 100644
--- a/gcc/wide-int-print.h
+++ b/gcc/wide-int-print.h
@@ -23,7 +23,8 @@ along with GCC; see the file COPYING3. If not see
#include <stdio.h>
#include "wide-int.h"
-#define WIDE_INT_PRINT_BUFFER_SIZE (MAX_BITSIZE_MODE_ANY_INT / 4 + 4)
+#define WIDE_INT_PRINT_BUFFER_SIZE (WIDE_INT_MAX_PRECISION / 4 + 4)
+
/* Printing functions. */
extern void print_dec (const wide_int &wi, char *buf, signop sgn);