Commit aa40bfad by Richard Stallman

(PRINT_OPERAND): Detect `double' constants by DFmode,

since VOIDmode means an integer.

From-SVN: r2416
parent d05c8ee7
......@@ -1238,7 +1238,7 @@ VAX operand formatting codes:
{ union { double d; int i[2]; } u; \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
fprintf (FILE, "$0f%.20e", u.d); } \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) != DImode) \
else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) == DFmode) \
{ union { double d; int i[2]; } u; \
u.i[0] = CONST_DOUBLE_LOW (X); u.i[1] = CONST_DOUBLE_HIGH (X); \
fprintf (FILE, "$0%c%.20e", ASM_DOUBLE_CHAR, u.d); } \
......
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