]> gcc.gnu.org Git - gcc.git/commit
ada: Call idiomatic routine in Expand_Simple_Function_Return
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 8 Apr 2023 10:43:54 +0000 (12:43 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Wed, 27 Sep 2023 08:16:27 +0000 (10:16 +0200)
commit6a8e6f7b072263b56e3e4fe897eb1df696030020
tree273f342ab02d9804421f22ab67cb40163707b023
parent7d149f954070b65d7b7dd1cd48cc7f8eda01a897
ada: Call idiomatic routine in Expand_Simple_Function_Return

In the primary stack case, Insert_Actions is invoked when the expression is
being rewritten, whereas Insert_List_Before_And_Analyze is invoked in the
secondary stack case.  The former is idiomatic, the latter is not.

gcc/ada/

* exp_ch6.adb (Expand_Simple_Function_Return): Call Insert_Actions
consistently when rewriting the expression.
gcc/ada/exp_ch6.adb
This page took 0.058267 seconds and 5 git commands to generate.