public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-8713] Missing piece in earlier change
@ 2021-07-09 16:32 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2021-07-09 16:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e6c7e45bfdd2b910e9001f3e27ebb86062d96534

commit r11-8713-ge6c7e45bfdd2b910e9001f3e27ebb86062d96534
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Fri Jul 9 18:30:54 2021 +0200

    Missing piece in earlier change
    
    gcc/ada/
            * gcc-interface/utils.c (finish_subprog_decl): Remove obsolete line.

Diff:
---
 gcc/ada/gcc-interface/utils.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index 952f032072b..bfacb0eaeb4 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -3543,9 +3543,6 @@ finish_subprog_decl (tree decl, tree asm_name, tree type)
   DECL_BY_REFERENCE (result_decl) = TREE_ADDRESSABLE (type);
   DECL_RESULT (decl) = result_decl;
 
-  /* Propagate the "const" property.  */
-  TREE_READONLY (decl) = TYPE_READONLY (type);
-
   /* Propagate the "pure" property.  */
   DECL_PURE_P (decl) = TYPE_RESTRICT (type);


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

only message in thread, other threads:[~2021-07-09 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 16:32 [gcc r11-8713] Missing piece in earlier change Eric Botcazou

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