public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/guojiufu/heads/personal-branch)] [Ada] Make Object Specific Dispatch tables constant
@ 2020-06-13  2:55 Jiu Fu Guo
  0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2020-06-13  2:55 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6dc5653584ca84f7d396dd2aa8b65070a1c1f7e1

commit 6dc5653584ca84f7d396dd2aa8b65070a1c1f7e1
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-06-13  2:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-13  2:55 [gcc(refs/users/guojiufu/heads/personal-branch)] [Ada] Make Object Specific Dispatch tables constant Jiu Fu Guo

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).