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

commit r15-238-gf18a632749b8b2ccfcf83454f60cfeb9958c36d2
Author: Piotr Trojanek <troja...@adacore.com>
Date:   Thu Jan 4 19:26:12 2024 +0100

    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.

Diff:
---
 gcc/ada/sem_prag.adb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/ada/sem_prag.adb b/gcc/ada/sem_prag.adb
index 5764992237b..0eb4450dba3 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)

Reply via email to