* fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.

From-SVN: r56959
This commit is contained in:
Kaveh R. Ghazi 2002-09-09 01:51:45 +00:00 committed by Kaveh Ghazi
parent b920346356
commit c1b4f089aa
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
2002-09-08 Richard Henderson <rth@redhat.com>
* dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.

View File

@ -555,9 +555,11 @@ fr30_print_operand (file, x, code)
else
{
REAL_VALUE_TYPE d;
char str[30];
REAL_VALUE_FROM_CONST_DOUBLE (d, x);
fprintf (file, "%.8f", d);
REAL_VALUE_TO_DECIMAL (d, str, 8);
fputs (str, file);
}
return;