trans.c (walk_nesting_tree): New static function.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 28 May 2019 08:00:21 +0000 (08:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 28 May 2019 08:00:21 +0000 (08:00 +0000)
commit81edaf2fc6328f5eba841744da40c3f0dd4d174f
tree7118d53fb510238196bf16e7578f0bda69caaefc
parent3e86c778cb135d6efa1bb4d97cf84c83ca867fb8
trans.c (walk_nesting_tree): New static function.

* gcc-interface/trans.c (walk_nesting_tree): New static function.
(finalize_nrv): Use it to walk the entire nesting tree.

From-SVN: r271685
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt79.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt79.ads [new file with mode: 0644]