[Bug c/19013] New: builtin functions should not rely on target system's C/math library
jbeulich at novell dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 14:15:00 GMT 2004
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
More information about the Gcc-bugs
mailing list