2019-10-10 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* freeze.adb (Freeze_Subprogram): Ensure constructor is a C++
constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276835
138bc75d-0d04-0410-961f-
82ee72b054a4
-2019-10-10 Gary Dismukes <dismukes@adacore.com>
+2019-10-10 Arnaud Charlet <charlet@adacore.com>
- * libgnat/a-ststio.ads (File_Type): Apply pragma
- Preelaborable_Initialization to the type.
\ No newline at end of file
+ * freeze.adb (Freeze_Subprogram): Ensure constructor is a C++
+ constructor.
\ No newline at end of file
-- (either in pragma CPP_Constructor or in a pragma import).
if Is_Constructor (E)
+ and then Convention (E) = Convention_CPP
and then
(No (Interface_Name (E))
or else String_Equal