This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Add some more builtins opts for sqrt/cbrt
On Mar 27, 2004, at 19:11, Kaveh R. Ghazi wrote:
From: David Edelsohn <email@example.com>
builtin-power-1.c is failing on PowerPC. [...]
It also is failing on Darwin, along with other builtins.
The darwin failure is different. It occurs because there is a
mismatch in whether GCC thinks darwin has C99 functions between the
darwin port itself and the testsuite. Fixing this will correct much
more than just builtin-power-1.c. As you noted, there are several
builtins failures on darwin.
If darwin has the C99 functions, then someone needs to add
#define TARGET_C99_FUNCTIONS 1
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
Either way, someone who knows darwin and can test on it should fix
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.