This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Add some more builtins opts for sqrt/cbrt
> From: Andrew Pinski <email@example.com>
> On Mar 27, 2004, at 19:11, Kaveh R. Ghazi wrote:
> > If darwin has the C99 functions, then someone needs to add
> > #define TARGET_C99_FUNCTIONS 1
> > to config/darwin.h.
> > If darwin doesn't have the C99 functions, then someone needs to tweek
> > testsuite/gcc.dg/builtins-config.h appropriately so darwin doesn't
> > attempt to test any transformations which result in C99 function
> > calls.
> > Either way, someone who knows darwin and can test on it should fix
> > this.
> I have a fix for darwin but I have not applied it yet, I have been
> just to busy to finish it up as the C99 math functions are in the
> libmx library which causes so much problems. I have already fixed
> libgfortran to support this library but I need to add support for
> I am almost ready to file a bug (with Apple) asking for the
> functions to be in libm or libsystem as that makes it more
> consistent with the rest of the UNIX world.
Ok, thanks for the info. In the mean time, perhaps you would like to
add a darwin bypass into builtins-config.h to reduce the testsuite
Kaveh R. Ghazi firstname.lastname@example.org