> 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.
This is the new approach, which doesn't require modifications to the source
code and essentia
> Tested on i686-pc-mingw32, applied on the mainline and 4.7 branch.
>
>
> 2012-05-19 Eric Botcazou
>
> * gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
> (gnat_to_gnu_entity) : Test it to set the thiscall
> calling convention
> (get_minimal_subprog_decl): Lik
This changes the calling convention of primitive operations on x86/Windows (the
equivalent of C++ methods) in order to be compatible with C++, which changed
the calling convention in order to be compatible with MSVC++.
Tested on i686-pc-mingw32, applied on the mainline and 4.7 branch.
2012-05-