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] Fastcall support on cygwin and mingw targets



> -----Original Message-----
> From: Fergus Henderson [mailto:fjh@cs.mu.OZ.AU] 
> Sent: 14. november 2002 05:27
> To: Casper Hornstrup
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: [PATCH] Fastcall support on cygwin and mingw targets
> 
> 
> > +       if (strcmp (IDENTIFIER_POINTER (name), "fastcall") 
> == 0)                
> Won't that do the wrong thing for 
> "__attribute__((__fastcall__))", because of the difference in 
> spelling ("fastcall" vs "__fastcall__")?
> 

Yes it did.

> There should be test cases for both spellings.

I changed it to use is_attribute_p instead.

> > doc/extend.texi:
> > + pass the fist two arguments in the registers ECX and EDX. 
> Subsequent
> 
> s/fist/first/

Fixed this.

Attachment: fastcall.tar.gz
Description: Binary data


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