diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-31 07:02:59 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-31 07:02:59 +0000 |
commit | 2157cd43d9d8098eba1211cc888921cf0a822e4f (patch) | |
tree | 29f4af3e6df031ead454728a129ccbc602b67105 /gcc/convert.c | |
parent | 9259b14de750b96cdc0d7cdfcb5bacde94580eb6 (diff) | |
download | gcc-2157cd43d9d8098eba1211cc888921cf0a822e4f.tar.gz |
(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3947 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index a063a6e88e1..62bcaf2b3f2 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -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; } } |