This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] 3rd try: Add sseregparm function attribute for x86
- From: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 15 Jun 2005 20:40:16 +0200 (CEST)
- Subject: 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/