diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-31 07:02:59 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-31 07:02:59 +0000 |
commit | d7889764961d8de3eac9063dea538411668f49ba (patch) | |
tree | 29f4af3e6df031ead454728a129ccbc602b67105 /gcc/convert.c | |
parent | e8650b8fccd4c08cf9ba7e0a05804d6d108f8e6a (diff) | |
download | gcc-d7889764961d8de3eac9063dea538411668f49ba.tar.gz |
(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.
From-SVN: r3947
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; } } |