This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: patch to fix __builtin_powi failure on apple-ppc-darwin
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 22 Mar 2005 11:18:11 -0800
- Subject: Re: PING: patch to fix __builtin_powi failure on apple-ppc-darwin
- References: <09B1125E-9B02-11D9-B135-000393B9ED88@apple.com>
Fariborz Jahanian <fjahanian@apple.com> writes:
> http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01825.html
Pmode is certainly wrong.
It looks like either:
- pow*i should be changed to use word_type; or
- optabs should be changed to hard-code SImode; or
- pow*i should be changed to use 'int' (with a #undef), and optabs
should be changed to use the appropriate mode.
I think the third one is most correct.