[PATCH][applied] Add sincos pass, fix PR30038

Steve Ellcey sje@cup.hp.com
Tue Jan 23 22:58:00 GMT 2007


Richard,

I am getting a bunch of failures of builtins-* tests on IA64 HP-UX that
I believe are related to your sincos patch.  IA64 HP-UX doesn't have a
SINCOS function (actually it does but GCC doesn't know it yet) but it
does have C99 functions (TARGET_C99_FUNCTIONS is 1).

This results in calls to cexpi (or it would if GCC didn't seg fault
first), but cexpi is not a standard C99 function and HP-UX does not have
it.  Is this a bug in your code or am I missing something here?

I can fix this on IA64 HP-UX by telling GCC that sincos is available
but I was wondering if other platforms will have the same problem.

Steve Ellcey
sje@cup.hp.com



More information about the Gcc-patches mailing list