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 target/31161] __builtin_cexpi is broken on Darwin



------- Comment #11 from rguenth at gcc dot gnu dot org  2007-03-15 20:15 -------
Subject: Bug 31161

Author: rguenth
Date: Thu Mar 15 20:14:49 2007
New Revision: 122958

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122958
Log:
2007-03-15  Richard Guenther  <rguenther@suse.de>

        PR middle-end/29719
        PR middle-end/31161
        * builtins.c (expand_builtin_int_roundingfn): Always fall
        back to floor/ceil and its variants even if they may be
        not available.
        (expand_builtin_cexpi): As a fallback if we
        don't have builtins for sincos or cexp create a function
        declaration for cexp and expand to a call to that.

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


-- 


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


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