diff options
Diffstat (limited to 'gcc/config/m68k/hp320.h')
-rw-r--r-- | gcc/config/m68k/hp320.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h index 7a18c52256a..17dcb69afc5 100644 --- a/gcc/config/m68k/hp320.h +++ b/gcc/config/m68k/hp320.h @@ -300,7 +300,7 @@ do { \ if (CODE == 'f') \ { \ char dstr[30]; \ - REAL_VALUE_TO_DECIMAL (VALUE, "%.9g", dstr); \ + REAL_VALUE_TO_DECIMAL (VALUE, dstr, 9); \ fprintf ((FILE), "&0f%s", dstr); \ } \ else \ @@ -317,7 +317,7 @@ do { \ #undef ASM_OUTPUT_DOUBLE_OPERAND #define ASM_OUTPUT_DOUBLE_OPERAND(FILE,VALUE) \ do { char dstr[30]; \ - REAL_VALUE_TO_DECIMAL (VALUE, "%.20g", dstr); \ + REAL_VALUE_TO_DECIMAL (VALUE, dstr, -1); \ fprintf (FILE, "&0f%s", dstr); \ } while (0) @@ -326,7 +326,7 @@ do { \ #undef ASM_OUTPUT_LONG_DOUBLE_OPERAND #define ASM_OUTPUT_LONG_DOUBLE_OPERAND(FILE,VALUE) \ do { char dstr[30]; \ - REAL_VALUE_TO_DECIMAL (VALUE, "%.20g", dstr); \ + REAL_VALUE_TO_DECIMAL (VALUE, dstr, -1); \ fprintf (FILE, "&0f%s", dstr); \ } while (0) @@ -354,12 +354,12 @@ do { \ else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) == DFmode) \ { REAL_VALUE_TYPE r; char dstr[30]; \ REAL_VALUE_FROM_CONST_DOUBLE (r, X); \ - REAL_VALUE_TO_DECIMAL (r, "%.20g", dstr); \ + REAL_VALUE_TO_DECIMAL (r, dstr, -1); \ fprintf (FILE, "&0f%s", dstr); } \ else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) == XFmode) \ { REAL_VALUE_TYPE r; char dstr[30]; \ REAL_VALUE_FROM_CONST_DOUBLE (r, X); \ - REAL_VALUE_TO_DECIMAL (r, "%.20g", dstr); \ + REAL_VALUE_TO_DECIMAL (r, dstr, -1); \ fprintf (FILE, "&0f%s", dstr); } \ else { putc ('&', FILE); output_addr_const (FILE, X); }} #endif |