Commit d7889764 by Richard Stallman

(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.

From-SVN: r3947
parent e8650b8f
...@@ -100,7 +100,7 @@ convert_to_real (type, expr) ...@@ -100,7 +100,7 @@ convert_to_real (type, expr)
{ {
register tree tem = make_node (REAL_CST); register tree tem = make_node (REAL_CST);
TREE_TYPE (tem) = type; 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; return tem;
} }
} }
......
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