* fold-const.c (fold_unary) <REAL_PART>: Test for availability of
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Feb 2007 19:10:44 +0000 (19:10 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Feb 2007 19:10:44 +0000 (19:10 +0000)
commit2a6b4c77546b2f5d0214730c3247184a3986bde5
tree3c97b40f1a12e9f5fd3092e3cdda0637b1dfbb41
parentf2a1b9b66fccb6489edbf052dce215575872e797
* fold-const.c (fold_unary) <REAL_PART>: Test for availability of
BUILT_IN_COS before simplifying REAL_PART(CEXPI)) to COS.
<IMAG_PART>: Likewise, check for availability of BUILT_IN_SIN.
* builtins.c (fold_builtin_sincos): Check for TARGET_C99_FUNCTIONS
before canonicalizing sincos to cexpi.
(fold_builtin_cexp): Likewise, for canonicalizing cexp to cexpi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121607 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c