This is the mail archive of the gcc-patches@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]

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


On 1/23/07, Steve Ellcey <sje@cup.hp.com> wrote:
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.

Can you provide me with a backtrace on the ICE? I suppose you hit the expand_builtin_cexpi path where it tries to expand using cexp()?

Thanks,
Richard.


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