This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/19013] New: builtin functions should not rely on target system's C/math library
- From: "jbeulich at novell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2004 14:15:02 -0000
- Subject: [Bug c/19013] New: builtin functions should not rely on target system's C/math library
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Especially for C99 extensions while compiling in default mode, allowing the use
of builtins that expand to calls to library functions not living in libgcc is
unacceptable, since these will result in (static or dynamic) link failures.
An example is testsuite/gcc.c-torture/execute/ieee/mzero6.c, which calls
__builtin_copysign, and thus fails e.g. for the i686-novell-netware target not
having this function (and also properly not having a prototype for it in any of
the headers).
--
Summary: builtin functions should not rely on target system's
C/math library
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbeulich at novell dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: *-*-*
GCC host triplet: *-*-*
GCC target triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19013