[Ada] Avoid a stack overflow in 'Value for invalid long strings
authorNicolas Roche <roche@adacore.com>
Mon, 11 Jun 2018 09:16:32 +0000 (09:16 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 11 Jun 2018 09:16:32 +0000 (09:16 +0000)
commitc4ca0af40b65c91c99036d339c93ed938b3f0cc2
treec4419ab3f9f05ca8527c435aa4d4dc3d5c0c98fd
parent972d29849fc76fea06110ca5b3b3fbce1f9e1fd2
[Ada] Avoid a stack overflow in 'Value for invalid long strings

2018-06-11  Nicolas Roche  <roche@adacore.com>

gcc/ada/

* libgnat/s-valuti.adb (Bad_Value): Ensure that we do not generate a
stack overflow while raising a constraint error.

From-SVN: r261396
gcc/ada/ChangeLog
gcc/ada/libgnat/s-valuti.adb