[gcc(refs/users/giulianob/heads/autopar_rebase2)] [Ada] Make Object Specific Dispatch tables constant
Giuliano Belinassi
giulianob@gcc.gnu.org
Mon Aug 17 23:34:22 GMT 2020
https://gcc.gnu.org/g:4001b2b73e0dad52127a25897173756021f66336
commit 4001b2b73e0dad52127a25897173756021f66336
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Mon Mar 16 22:54:13 2020 +0100
[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.
Diff:
---
gcc/ada/exp_disp.adb | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb
index c8975749b58..617cb1be7bd 100644
--- a/gcc/ada/exp_disp.adb
+++ b/gcc/ada/exp_disp.adb
@@ -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 =>
More information about the Gcc-cvs
mailing list