This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31161] __builtin_cexpi is broken on Darwin
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2007 10:11:34 -0000
- Subject: [Bug target/31161] __builtin_cexpi is broken on Darwin
- References: <bug-31161-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from dominiq at lps dot ens dot fr 2007-03-15 10:11 -------
Subject: Re: __builtin_cexpi is broken on Darwin
> Yes, I'll restore 4.2.0 behavior here. Though maybe falling back to a function
> call to cexp would be more natural...
I agree (see below).
> The Problem with Fortran and C++ is that they assume a C99 runtime and so they
> effectively set TARGET_C99_FUNCTIONS and provide fallback implementations.
> For example libgfortran contains
> ...
> and C++ simply relies on the target cexp() functioning correctly.
As far as I can tell this assumption is correct (see my comment #2),
so why the fallback not working properly?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31161