[Ada] Unnesting: do not generate push/pop for exceptions
authorEd Schonberg <schonberg@adacore.com>
Tue, 29 May 2018 09:42:11 +0000 (09:42 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 29 May 2018 09:42:11 +0000 (09:42 +0000)
commit3747db827dfedd0f91e08f74b4082da8c0b2df5e
tree8d909662fdcdbce4847166893af8b6fc1a9b909d
parentef22a3b26940b059888ea409a53f5a91af44887d
[Ada] Unnesting: do not generate push/pop for exceptions

2018-05-29  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_ch6.adb (Expand_N_Subprogram_Body): Do not generate push/pop for
exceptions if subprogram unnesting is in effect, because these branch
nodes are relevant only in the presence of nested subprograms.

From-SVN: r260883
gcc/ada/ChangeLog
gcc/ada/exp_ch6.adb