[Ada] Make Object Specific Dispatch tables constant

2020-06-11  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

	* exp_disp.adb (Make_Secondary_DT): Internally generated OSD
	tables are now constant.
This commit is contained in:
Piotr Trojanek 2020-03-16 22:54:13 +01:00 committed by Pierre-Marie de Rodat
parent 08380342a4
commit 6dc5653584

View File

@ -4310,6 +4310,7 @@ package body Exp_Disp is
Append_To (Result,
Make_Object_Declaration (Loc,
Defining_Identifier => OSD,
Constant_Present => True,
Object_Definition =>
Make_Subtype_Indication (Loc,
Subtype_Mark =>