diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2004-03-26 00:29:25 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2004-03-26 00:29:25 +0000 |
commit | 3a048383383a3290611f64fcf6fb4453c3728e71 (patch) | |
tree | f58d02a4880b9cc037ebefb42847b17ee072ecaa /gcc/builtins.c | |
parent | 53d98cdbc2d21c218a6b3c1fdfd368e37ceeb764 (diff) | |
download | gcc-3a048383383a3290611f64fcf6fb4453c3728e71.zip gcc-3a048383383a3290611f64fcf6fb4453c3728e71.tar.gz gcc-3a048383383a3290611f64fcf6fb4453c3728e71.tar.bz2 |
* builtins.c (fold_builtin): Fix error in last change.
From-SVN: r79975
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index f0ac04f..0622014 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -6704,7 +6704,7 @@ fold_builtin (tree exp) BUILTIN_SQRT_P (fcode) ? dconsthalf : dconstthird; /* Adjust for the outer root. */ - dconstroot.exp--; + SET_REAL_EXP (&dconstroot, REAL_EXP (&dconstroot) - 1); dconstroot = real_value_truncate (TYPE_MODE (type), dconstroot); tree_root = build_real (type, dconstroot); arglist = tree_cons (NULL_TREE, arg0, @@ -6769,7 +6769,7 @@ fold_builtin (tree exp) tree tree_root; REAL_VALUE_TYPE dconstroot = dconstthird; - dconstroot.exp--; + SET_REAL_EXP (&dconstroot, REAL_EXP (&dconstroot) - 1); dconstroot = real_value_truncate (TYPE_MODE (type), dconstroot); tree_root = build_real (type, dconstroot); arglist = tree_cons (NULL_TREE, arg0, |