[Ada] Unnesting: always transform local Raise statements
authorEd Schonberg <schonberg@adacore.com>
Wed, 30 May 2018 08:58:57 +0000 (08:58 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 30 May 2018 08:58:57 +0000 (08:58 +0000)
commitb23fa3d45fcdcb42fabdffe4f8f720f070722bdc
treefe3b1231c3c337d9a883b163011cb387fe1fae12
parent07fb1ef48334827934ea5fd204e31b25398fcf3e
[Ada] Unnesting: always transform local Raise statements

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

gcc/ada/

* exp_ch11.adb (Replace_Raise_By_Goto): The transfomation is legal even
if the local raise statement includes a string expression. This
expression might be picked up by an outer handler or discarded, but
plays no role in this transformation.

From-SVN: r260949
gcc/ada/ChangeLog
gcc/ada/exp_ch11.adb