r262790 - in /trunk/gcc/ada: ChangeLog exp_disp...

pmderodat@gcc.gnu.org pmderodat@gcc.gnu.org
Tue Jul 17 08:09:00 GMT 2018


Author: pmderodat
Date: Tue Jul 17 08:09:54 2018
New Revision: 262790

URL: https://gcc.gnu.org/viewcvs?rev=262790&root=gcc&view=rev
Log:
[Ada] Minor fix for imported C++ constructors

C++ constructors are imported as functions and then internally rewritten into
procedures taking the "this" pointer as first parameter.  Now this parameter is
not of an access type but of the type directly, so it must be In/Out and not
just In.

2018-07-17  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

	* exp_disp.adb (Gen_Parameters_Profile): Make the _Init parameter an
	In/Out parameter.
	(Set_CPP_Constructors): Adjust comment accordingly.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/exp_disp.adb



More information about the Gcc-cvs mailing list