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] 3rd try: Add sseregparm function attribute for x86


On Wed, 15 Jun 2005, Richard Henderson wrote:

> On Wed, Jun 15, 2005 at 08:33:09PM +0200, Richard Guenther wrote:
> > Sorry, I cannot.  But with gcc (and my patch) we'll error
> > out because both foo have conflicting types.  The thing I
> > maked work (that didn't work before) is
> >
> > void __attribute__((fastcall, stdcall)) foo (void);
>
> Then this is a bug in your patch.  This is equivalent to the
> two separate attributes.

Huh?  I'm seriously confused, then.  You mean that declaring foo
two times each with separate attributes causes an effective
decl with merged attribute lists?

Interesting.

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/


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