Commit 3a048383 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* builtins.c (fold_builtin): Fix error in last change.

From-SVN: r79975
parent 53d98cdb
2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (fold_builtin): Fix error in last change.
2004-03-25 Richard Sandiford <rsandifo@redhat.com> 2004-03-25 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h: Formatting fix. * config/mips/mips.h: Formatting fix.
......
...@@ -6704,7 +6704,7 @@ fold_builtin (tree exp) ...@@ -6704,7 +6704,7 @@ fold_builtin (tree exp)
BUILTIN_SQRT_P (fcode) ? dconsthalf : dconstthird; BUILTIN_SQRT_P (fcode) ? dconsthalf : dconstthird;
/* Adjust for the outer root. */ /* Adjust for the outer root. */
dconstroot.exp--; SET_REAL_EXP (&dconstroot, REAL_EXP (&dconstroot) - 1);
dconstroot = real_value_truncate (TYPE_MODE (type), dconstroot); dconstroot = real_value_truncate (TYPE_MODE (type), dconstroot);
tree_root = build_real (type, dconstroot); tree_root = build_real (type, dconstroot);
arglist = tree_cons (NULL_TREE, arg0, arglist = tree_cons (NULL_TREE, arg0,
...@@ -6769,7 +6769,7 @@ fold_builtin (tree exp) ...@@ -6769,7 +6769,7 @@ fold_builtin (tree exp)
tree tree_root; tree tree_root;
REAL_VALUE_TYPE dconstroot = dconstthird; REAL_VALUE_TYPE dconstroot = dconstthird;
dconstroot.exp--; SET_REAL_EXP (&dconstroot, REAL_EXP (&dconstroot) - 1);
dconstroot = real_value_truncate (TYPE_MODE (type), dconstroot); dconstroot = real_value_truncate (TYPE_MODE (type), dconstroot);
tree_root = build_real (type, dconstroot); tree_root = build_real (type, dconstroot);
arglist = tree_cons (NULL_TREE, arg0, arglist = tree_cons (NULL_TREE, arg0,
......
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