From b1dcd52be16c705b56715b1d92d80b77931677a0 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Tue, 14 Dec 2021 23:10:44 +0100 Subject: [PATCH] [Ada] Fix comment about subprogram unnesting and unconstrained arrays gcc/ada/ * exp_unst.adb (Unnest_Subprogram): Sync comment with the current code. --- gcc/ada/exp_unst.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/ada/exp_unst.adb b/gcc/ada/exp_unst.adb index dcae4b3..05f1148 100644 --- 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; -- 2.7.4