[Ada] Further cleanup in inlining machinery
commitf0539a7914cba3b7de76665a74edb90e30f2dbc9
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 14 Aug 2019 09:52:48 +0000 (14 09:52 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 14 Aug 2019 09:52:48 +0000 (14 09:52 +0000)
treec494f371022ac3bcd160707ab4b54c0c83e5fc83
parent0cc1d9ad98fdabe6c577de1a83c4e12821f0c333
[Ada] Further cleanup in inlining machinery

This is visible if you pass a very small number by means of -gnateinn.

2019-08-14  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* inline.adb (Add_Pending_Instantiation): Fix off-by-one error
in the comparison against the maximum number of instantiations.

From-SVN: r274472
gcc/ada/ChangeLog
gcc/ada/inline.adb