[PATCH] Fastcall support on cygwin and mingw targets

Fergus Henderson fjh@cs.mu.OZ.AU
Tue Nov 12 22:08:00 GMT 2002


On 12-Nov-2002, Casper Hornstrup <chorns@users.sourceforge.net> wrote:
> 
> Fergus Henderson:
> > What happens if a function has multiple attributes,
> > e.g. both fastcall and stdcall or both fastcall and
> > regparm(3)? It may be worth adding a test for that case.
> ...
> > IMHO the desirable behaviour is for gcc to report an error
> > in all of these cases.
> 
> Where/how should this check be performed? It can't be done in the
> attribute handler since all attributes may not be added to the
> attribute list yet.

Why can't the attribute handler report an error as soon as any two
attributes conflict?

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc-patches mailing list