[Ada] Ensure constructor is a C++ constructor

Pierre-Marie de Rodat derodat@adacore.com
Thu Oct 10 15:30:00 GMT 2019


Freeze_Subprogram has special handling of C++ constructor interfacing.
This is currently implicit but assuming we introduce other conventions
(e.g. Java) the current code won't hold.

Tested on x86_64-pc-linux-gnu, committed on trunk

2019-10-10  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* freeze.adb (Freeze_Subprogram): Ensure constructor is a C++
	constructor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 333 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191010/22c66099/attachment.bin>


More information about the Gcc-patches mailing list