[Bug target/30980] [4.3 Regression] Recent complex miscompilation
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 13 13:26:00 GMT 2007
------- Comment #12 from rguenth at gcc dot gnu dot org 2007-03-13 13:26 -------
Now,
2007-02-05 Roger Sayle <roger@eyesopen.com>
* 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.
is too conservative in the sense that we can expand __builtin_cexpi if
either TARGET_HAS_SINCOS or TARGET_C99_FUNCTIONS.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at eyesopen dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30980
More information about the Gcc-bugs
mailing list