aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2024-01-04 19:26:12 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-07 09:55:50 +0200
commitf18a632749b8b2ccfcf83454f60cfeb9958c36d2 (patch)
treece9aa3abfae19f8408f354ad971690426feb938f /gcc/ada
parent0920e64ffa55adb063174559b274b0a521f34934 (diff)
downloadgcc-f18a632749b8b2ccfcf83454f60cfeb9958c36d2.zip
gcc-f18a632749b8b2ccfcf83454f60cfeb9958c36d2.tar.gz
gcc-f18a632749b8b2ccfcf83454f60cfeb9958c36d2.tar.bz2
ada: Update comment about implicit inputs of Depends contract
Sync comment with the updated SPARK RM rules. gcc/ada/ * sem_prag.adb (Collect_Global_Item): Update comment.
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/sem_prag.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/sem_prag.adb b/gcc/ada/sem_prag.adb
index 5764992..0eb4450 100644
--- a/gcc/ada/sem_prag.adb
+++ b/gcc/ada/sem_prag.adb
@@ -31669,8 +31669,7 @@ package body Sem_Prag is
Append_New_Elmt (Formal, Subp_Outputs);
-- OUT parameters can act as inputs when the related type is
- -- tagged, unconstrained array, unconstrained record, or record
- -- with unconstrained components.
+ -- tagged, unconstrained array or unconstrained record.
if Ekind (Formal) = E_Out_Parameter
and then Is_Unconstrained_Or_Tagged_Item (Formal)