Modifications to x86 __attribute__(__thiscall__) and __attribute__(cdecl) calling conventions

Robert Butler lighth7015@gmail.com
Mon Mar 14 16:31:00 GMT 2011


Hi Ian,

So far, we've only been able to deduce that functions in
gcc/config/i386/i386.c merely check for conflicting attributes
(e.g. fastcall AND cdecl, fastcall AND regparam, etc.) in functions
like ix86_handle_cconv_attribute.

Is there a specific suite of functions we should be looking at? (i.e.,
ix86_xxx_foo_yyy)

Thanks,
- Robert

On Mon, Mar 14, 2011 at 11:58 AM, Ian Lance Taylor <iant@google.com> wrote:
> Robert Butler <lighth7015@gmail.com> writes:
>
>> Can anybody please help us locate where exactly in gcc-trunk's
>> sourcecode the implementations of these conventions would be
>> located?
>
> gcc/config/i386/i386.c.  Search for cdecl and friends.
>
> Ian
>



More information about the Gcc-help mailing list