This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29335] transcendental functions with constant arguments should be resolved at compile-time



------- Comment #13 from ghazi at gcc dot gnu dot org  2006-10-23 20:25 -------
Subject: Bug 29335

Author: ghazi
Date: Mon Oct 23 20:24:55 2006
New Revision: 117983

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117983
Log:
        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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/real.c
    trunk/gcc/real.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29335


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]