]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Further cleanup in inlining machinery
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Aug 2019 09:52:48 +0000 (09:52 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Aug 2019 09:52:48 +0000 (09:52 +0000)
commite57467b9f0be138963f5374d775d0fc0478ed846
treec494f371022ac3bcd160707ab4b54c0c83e5fc83
parentdd3a5ffe7617c2e41e23a376cf8ba1c7fde5a2df
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@274472 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/inline.adb