diff mbox series

[Ada] Adjust reference in comment

Message ID 20220601084504.GA1246686@adacore.com
State New
Headers show
Series [Ada] Adjust reference in comment | expand

Commit Message

Pierre-Marie de Rodat June 1, 2022, 8:45 a.m. UTC
This is needed after the creation of Returns_On_Secondary_Stack from the
original Requires_Transient_Scope.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

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

Patch

diff --git a/gcc/ada/sem_util.adb b/gcc/ada/sem_util.adb
--- a/gcc/ada/sem_util.adb
+++ b/gcc/ada/sem_util.adb
@@ -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;