From: Eric Botcazou <ebotca...@adacore.com>

gcc/ada/

        * exp_ch3.adb (Expand_N_Object_Declaration): Fix pasto in comment.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/exp_ch3.adb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb
index a76acf34d66..a3b62249c7d 100644
--- a/gcc/ada/exp_ch3.adb
+++ b/gcc/ada/exp_ch3.adb
@@ -8715,8 +8715,8 @@ package body Exp_Ch3 is
       --    type Txx is access all ...;
       --    Rxx : constant Txx :=
       --      new <expression-type>['(<expression>)][storage_pool =
-      --        system__secondary_stack__rs_pool][procedure_to_call =
-      --        system__secondary_stack__rs_allocate];
+      --        system__return_stack__rs_pool][procedure_to_call =
+      --        system__return_stack__rs_allocate];
 
       --    Result : T renames Rxx.all;
 
-- 
2.34.1

Reply via email to