This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Use C++-compatible calling convention on x86/Windows
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Jun 2012 15:31:07 +0200
- Subject: Re: [Ada] Use C++-compatible calling convention on x86/Windows
- References: <201205191129.23652.ebotcazou@adacore.com>
> 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