(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.
From-SVN: r3947
This commit is contained in:
parent
e8650b8fcc
commit
d788976496
|
@ -100,7 +100,7 @@ convert_to_real (type, expr)
|
|||
{
|
||||
register tree tem = make_node (REAL_CST);
|
||||
TREE_TYPE (tem) = type;
|
||||
TREE_REAL_CST (tem) = REAL_VALUE_ATOF ("0.0");
|
||||
TREE_REAL_CST (tem) = REAL_VALUE_ATOF ("0.0", TYPE_MODE (type));
|
||||
return tem;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue