Don't print CONST_DOUBLE as floating point if not MODE_FLOAT

From-SVN: r8668
This commit is contained in:
Ian Lance Taylor 1994-12-19 22:08:55 +00:00
parent c211b99198
commit 28ae04f1a4

View File

@ -3648,7 +3648,8 @@ print_operand (file, op, letter)
else if (code == MEM)
output_address (XEXP (op, 0));
else if (code == CONST_DOUBLE)
else if (code == CONST_DOUBLE
&& GET_MODE_CLASS (GET_MODE (op)) == MODE_FLOAT)
{
REAL_VALUE_TYPE d;
char s[30];