]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/29335 (transcendental functions with constant arguments should be...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 23 Oct 2006 20:24:55 +0000 (20:24 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 23 Oct 2006 20:24:55 +0000 (20:24 +0000)
commit1f3f1f68274f5d6ade4fd55090e6d991b0b9d5b8
tree35df1b444a1a341b02054010ef5e197a40f91be3
parentb544aa7b959e4b9a8b1420bc11dd5ff6fdc419bf
re PR middle-end/29335 (transcendental functions with constant arguments should be resolved at compile-time)

PR middle-end/29335
* builtins.c (fold_builtin_sin, fold_builtin_cos,
fold_builtin_tan): Fold all constant arguments.  Take a "type"
argument as necessary.
(do_mpfr_arg1): New.
* real.c, real.h (real_from_mpfr, mpfr_from_real): New.

From-SVN: r117983
gcc/ChangeLog
gcc/builtins.c
gcc/real.c
gcc/real.h