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 to fix __builtin_powi failure on apple-ppc-darwin (revised)



On Mar 30, 2005, at 9:01 AM, Richard Henderson wrote:


On Wed, Mar 30, 2005 at 09:26:03AM +0100, Richard Guenther wrote:
So what do you suppose? Using

TYPE
NAME (TYPE x, int m)
{
  unsigned int n = m < 0 ? -m : m;

etc.?

Yes.

This patch uses 'int' for prototypes. OK if testing went well?


- fariborz

2005-03-30 Fariborz Jahanian <fjahanian@apple.com>

        * builtins.c (expand_builtin_powi): Fix mode of
        2nd argument to match that of SItype.
        * libgcc2.h (__powisf2, __powidf2, __powixf2, __powitf2): Change
        2nd argument type to int.
        * libgcc2.c: Change prototype of __powi* functions to use
        int.

Attachment: fsf-patch-4054728.txt
Description: Text document




r~

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