projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57136d6
)
[Ada] Fix comment about subprogram unnesting and unconstrained arrays
author
Piotr Trojanek
<trojanek@adacore.com>
Tue, 14 Dec 2021 22:10:44 +0000
(23:10 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Fri, 7 Jan 2022 16:24:09 +0000
(16:24 +0000)
gcc/ada/
* exp_unst.adb (Unnest_Subprogram): Sync comment with the
current code.
gcc/ada/exp_unst.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/exp_unst.adb
b/gcc/ada/exp_unst.adb
index
dcae4b3
..
05f1148
100644
(file)
--- a/
gcc/ada/exp_unst.adb
+++ b/
gcc/ada/exp_unst.adb
@@
-2093,7
+2093,8
@@
package body Exp_Unst is
-- Build and insert the assignment:
-- ARECn.nam := nam'Address
- -- or else 'Access for unconstrained array
+ -- or else 'Unchecked_Access for
+ -- unconstrained array.
if Needs_Fat_Pointer (Ent) then
Attr := Name_Unchecked_Access;