aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>2002-10-07 22:20:10 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2002-10-07 22:20:10 +0000
commit25009e02376191461adcc141eb1d98f6eed704f5 (patch)
tree9e0906f0bb5416fc6fad68026c25c52e5e7eb504
parenta5a438f5722dacf2b8b05b76dfcbaca14da9e9d7 (diff)
downloadgcc-25009e02376191461adcc141eb1d98f6eed704f5.zip
gcc-25009e02376191461adcc141eb1d98f6eed704f5.tar.gz
gcc-25009e02376191461adcc141eb1d98f6eed704f5.tar.bz2
c4x.c (c4x_print_operand): Enlarge buffer for REAL_VALUE_TO_DECIMAL output.
* config/c4x/c4x.c (c4x_print_operand): Enlarge buffer for REAL_VALUE_TO_DECIMAL output. From-SVN: r57908
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/c4x/c4x.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 558eaa7..a1d5e55 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
+ for REAL_VALUE_TO_DECIMAL output.
+
2002-10-07 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_override_options): Set
diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c
index cbf0567..78cd053 100644
--- a/gcc/config/c4x/c4x.c
+++ b/gcc/config/c4x/c4x.c
@@ -1959,7 +1959,7 @@ c4x_print_operand (file, op, letter)
case CONST_DOUBLE:
{
- char str[30];
+ char str[64];
REAL_VALUE_TYPE r;
REAL_VALUE_FROM_CONST_DOUBLE (r, op);