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: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2008 10:51:13 -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 #28 from dominiq at lps dot ens dot fr 2008-02-22 10:51 -------
First thanks for looking to the problem.
Second, all the machinery for adding $LDBL128 is provided by math.h (or in
fixincludes/tests/base/architecture/ppc/math.h). So the problem for languages
accepting to include math.h can be solved by adding the include in the code.
Indeed for these languages it would be nice to do the include silently, but
it's not vital to use long double.
Where the problem becomes serious is for languages such as fortran which has no
direct way to access math.h. So far all the attempts I have seen have failed to
yield a satisfactory solution. So either it is not as trivial as said by the
Apple's guys, or if it is really why don't they give the hint?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25477