[Ada] Fix interfacing with C++ methods on 32-bit Windows

Eric Botcazou ebotcazou@adacore.com
Sun Feb 8 09:49:00 GMT 2015


Gigi fails to set the "thiscall" calling convention on a method imported from 
C++ if the class has no virtual member functions on the C++ side.

Tested on x86-windows, applied on the mainline.


2015-02-08  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/decl.c (is_cplusplus_method): Use Is_Primitive flag to
	detect primitive operations of tagged and untagged types.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1141 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150208/c6eeae29/attachment.bin>


More information about the Gcc-patches mailing list