Commit c1b4f089 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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

From-SVN: r56959
parent b9203463
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment