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]

Re: [Ada] Use C++-compatible calling convention on x86/Windows


> Tested on i686-pc-mingw32, applied on the mainline and 4.7 branch.
>
>
> 2012-05-19  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
> 	(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
> 	calling convention
> 	(get_minimal_subprog_decl): Likewise.
> 	(gnat_first_param_is_class): New predicate.

Now reverted, including on the 4.7 branch (this is only for x86/Windows).  We 
have decided to use another approach to deal with the problem as the above one 
introduces backwards compatibily issues.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]