aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-10-14 19:53:25 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2002-10-14 19:53:25 +0000
commit40e6bc7e975a1113b5e0267b5a059fb87c5e05be (patch)
tree0da362281c06ce8ebf9d2abd4f0732b1d06f4113 /gcc
parent006941eb2fcc7a37c86cb41c042b7d95e1f6223c (diff)
downloadgcc-40e6bc7e975a1113b5e0267b5a059fb87c5e05be.zip
gcc-40e6bc7e975a1113b5e0267b5a059fb87c5e05be.tar.gz
gcc-40e6bc7e975a1113b5e0267b5a059fb87c5e05be.tar.bz2
mips.c (print_operand): Increase buffer size for real numbers.
* config/mips/mips.c (print_operand): Increase buffer size for real numbers. From-SVN: r58132
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8233cba..4267e4e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-14 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/mips/mips.c (print_operand): Increase buffer size for
+ real numbers.
+
2002-10-14 Richard Henderson <rth@redhat.com>
PR opt/8165
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 28d97e23..82e2307 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -5911,7 +5911,7 @@ print_operand (file, op, letter)
&& GET_MODE_CLASS (GET_MODE (op)) == MODE_FLOAT)
{
REAL_VALUE_TYPE d;
- char s[30];
+ char s[60];
REAL_VALUE_FROM_CONST_DOUBLE (d, op);
REAL_VALUE_TO_DECIMAL (d, s, -1);