From: Eric Botcazou Date: Thu, 9 Jun 2022 16:49:10 +0000 (+0200) Subject: [Ada] Update comment after recent changes wrt. secondary stack & tagged types X-Git-Tag: basepoints/gcc-14~5670 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc84bb8c167297dd739d8ced30b2193b3892080d;p=thirdparty%2Fgcc.git [Ada] Update comment after recent changes wrt. secondary stack & tagged types gcc/ada/ * gcc-interface/trans.cc (gnat_to_gnu): Update comment. --- 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))