This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] 3rd try: Add sseregparm function attribute for x86
Richard Henderson wrote:
> On Wed, Jun 15, 2005 at 07:48:06PM +0200, Richard Guenther wrote:
>>>I don't think you should remove this. This behaviour comes from
>>Can you be more specific here?
> void __declspec(fastcall) foo (void);
> void __declspec(stdcall) foo (void);
> on VC++.
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);