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 target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate



------- 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


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