Robert Butler <lighth7015@xxxxxxxxx> writes: > 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) ix86_function_arg and the functions that it calls. Also init_cumulative_args. The effect of cdecl and stdcall is only on ix86_return_pops_args, which I guess you don't care about. So look for fastcall, which does change the way that parameters are passed. Note that this code is complicated. What you are trying to do is not going to be a trivial change. Ian