This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17243] Test failures due to missing C99 symbols
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2004 00:18:19 -0000
- Subject: [Bug libstdc++/17243] Test failures due to missing C99 symbols
- References: <20040830181541.17243.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-11-03 00:18 -------
Simple grep:
/include/std/std_complex.h: __complex_arg(__complex__ float __z) { return
__builtin_cargf(__z); }
Simple theory: on targets without __builtin_cargf, cargf gets referenced with
this call. However, no checking for cargf or provided function in libmath stubs
for this. So, the failure.
In fact, in 2000 cargf was taken out of libmath, because it was unused.
I think this is related, in general, to the meta-issue of what the hell libmath
is supposed to do, and if perhaps it's time for fortran, java, c++ etc to all
punt to a top-level C99 math library for this stuff if native libc/libm can't
hack it. And why stop there... just import all of glibc + GSL? Ack.
That's my vote, at the moment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17243