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 c/19013] New: builtin functions should not rely on target system's C/math library


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


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