From 2a5ec8e662ad5fd0228e6feb34acd5485c47b8f2 Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Wed, 30 May 2018 08:56:35 +0000 Subject: [PATCH] [Ada] Minor comment fix 2018-05-30 Bob Duff gcc/ada/ * exp_ch7.adb: Minor comment fix. From-SVN: r260926 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/exp_ch7.adb | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e5b1868f67c..84ac852c3e3 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2018-05-30 Bob Duff + + * exp_ch7.adb: Minor comment fix. + 2018-05-30 Ed Schonberg * exp_unst.adb (Visit_Node): Handle properly subprogram instantiations diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb index e5285fa1f4f..3e7f9428f51 100644 --- a/gcc/ada/exp_ch7.adb +++ b/gcc/ada/exp_ch7.adb @@ -4175,12 +4175,12 @@ package body Exp_Ch7 is -- for Obj of Container loop - -- Routine Wrap_Transient_Declaration however does not generate a - -- physical block as wrapping a declaration will kill it too ealy. - -- To handle this peculiar case, mark the related iterator loop as - -- requiring the secondary stack. This signals the finalization - -- machinery to manage the secondary stack (see routine - -- Process_Statements_For_Controlled_Objects). + -- Routine Wrap_Transient_Declaration however does not generate + -- a physical block as wrapping a declaration will kill it too + -- early. To handle this peculiar case, mark the related iterator + -- loop as requiring the secondary stack. This signals the + -- finalization machinery to manage the secondary stack (see + -- routine Process_Statements_For_Controlled_Objects). Iter_Loop := Find_Enclosing_Iterator_Loop (Trans_Scop); -- 2.30.2