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 #29 from ghazi at gcc dot gnu dot org  2006-11-02 03:21 -------
Subject: Bug 29335

Author: ghazi
Date: Thu Nov  2 03:20:49 2006
New Revision: 118409

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118409
Log:
        PR middle-end/29335
        * builtins.c (do_mpfr_sincos): New.
        (fold_builtin_1): Use it to fold builtin sincos.

testsuite:
        * gcc.dg/torture/builtin-math-3.c: Fix semicolons.
        (TESTIT_2P, TESTIT_2P_R): New macros.  Test sincos.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/builtin-math-3.c


-- 


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]