builtins.c (fold_builtin_exponent): Evaluate constant arguments at compile-time using...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 24 Oct 2006 04:13:16 +0000 (04:13 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 24 Oct 2006 04:13:16 +0000 (04:13 +0000)
commitb52dd66cc0e3ce80b12a1f72f5153643bd22c450
treeb277cb20d80dff8f9087c7b77f7f811189db6154
parent247140eaf7243f2ce085a2bebeaf08b4a385fb60
builtins.c (fold_builtin_exponent): Evaluate constant arguments at compile-time using MPFR.

* builtins.c (fold_builtin_exponent): Evaluate constant arguments
at compile-time using MPFR.  Change parameter VALUE to FUNC,
update all callers.
(do_mpfr_arg1): Rename `exact' to `inexact'.  Carefully check
for overflow and underflow at all times and avoid folding in
those cases.

From-SVN: r117995
gcc/ChangeLog
gcc/builtins.c