This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2006 19:20:11 -0000
- Subject: [Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate
- References: <bug-25477-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from geoffk at gcc dot gnu dot org 2006-10-06 19:20 -------
The general problem here is that on PPC Darwin, when using gcc with
-mlong-double-128 (which is the default), some system functions (you can find a
list in bug 25850) need to have $LDBL128 appended to their assembly names. For
the variadic functions, like printf, which might not have any long doubles
passed to them, this should happen only when compiling for 10.3.9 and later,
since these functions aren't available earlier; the user needs to avoid calling
those functions with long doubles when compiling with a -mmacosx-version-min of
less than 10.3.9.
--
geoffk at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|*-*-darwin[789]* |powerpc-*-darwin[789]*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25477