From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1914) id A8E8B3858010; Wed, 6 Jul 2022 13:31:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8E8B3858010 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Pierre-Marie de Rodat To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-1537] [Ada] Update comment after recent changes wrt. secondary stack & tagged types X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 1141fbd71ea1782c6eac750cfed809f0706aaafc X-Git-Newrev: fc84bb8c167297dd739d8ced30b2193b3892080d Message-Id: <20220706133148.A8E8B3858010@sourceware.org> Date: Wed, 6 Jul 2022 13:31:48 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2022 13:31:48 -0000 https://gcc.gnu.org/g:fc84bb8c167297dd739d8ced30b2193b3892080d commit r13-1537-gfc84bb8c167297dd739d8ced30b2193b3892080d Author: Eric Botcazou Date: Thu Jun 9 18:49:10 2022 +0200 [Ada] Update comment after recent changes wrt. secondary stack & tagged types gcc/ada/ * gcc-interface/trans.cc (gnat_to_gnu): Update comment. Diff: --- gcc/ada/gcc-interface/trans.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/ada/gcc-interface/trans.cc b/gcc/ada/gcc-interface/trans.cc index aec27e16569..8164801b2af 100644 --- a/gcc/ada/gcc-interface/trans.cc +++ b/gcc/ada/gcc-interface/trans.cc @@ -7387,9 +7387,7 @@ gnat_to_gnu (Node_Id gnat_node) gnu_ret_val = maybe_unconstrained_array (gnu_ret_val); /* And find out whether it is a candidate for Named Return - Value. If so, record it. Note that we disable this NRV - optimization when we're preserving the control flow as - it entails hoisting the allocation done below. */ + Value. If so, record it. */ if (optimize && !optimize_debug && !TYPE_CI_CO_LIST (gnu_subprog_type))