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] |
Hello, this patch sets for c++ methods, which are not stdarg ones, the default calling-convention to thiscall for ms_abi 32-bit, as vendor specific compiler does. ChangeLog 2011-04-01 Kai Tietz * i386.c (ix86_is_msabi_thiscall): New helper function. (ix86_comp_type_attributes): Handle thiscall for method-functions special. (init_cumulative_args): Likewise. (find_drap_reg): Likewise. (ix86_static_chain): Likewise. (x86_this_parameter): Likewise. (x86_output_mi_thunk): Likewise. Tested for i686-w64-mingw32 (some parts of the g++ testsuite are still running). Regression tested for i686-pc-cygwin, x86_64-pc-linux-gnu. Ok for apply? Regards, Kai
Attachment:
w32_thiscall.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |