[Ada] Adjust reference in comment
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 5 May 2022 09:02:07 +0000 (11:02 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 1 Jun 2022 08:43:18 +0000 (08:43 +0000)
This is needed after the creation of Returns_On_Secondary_Stack from the
original Requires_Transient_Scope.

gcc/ada/

* sem_util.adb (Indirect_Temp_Needed): Adjust reference in comment.

gcc/ada/sem_util.adb

index 21b6ee4..3ca1932 100644 (file)
@@ -32129,7 +32129,7 @@ package body Sem_Util is
             --
             --  See Large_Max_Size_Mutable function elsewhere in this
             --  file (currently declared inside of
-            --  Requires_Transient_Scope, so it would have to be
+            --  Returns_On_Secondary_Stack, so it would have to be
             --  moved if we want it to be callable from here).
 
          end Indirect_Temp_Needed;