public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] [Ada] Make Object Specific Dispatch tables constant
@ 2020-08-22 22:24 Giuliano Belinassi
  0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 22:24 UTC (permalink / raw)
  To: gcc-cvs

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 =>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-22 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 22:24 [gcc/devel/autopar_devel] [Ada] Make Object Specific Dispatch tables constant Giuliano Belinassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).