]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/ChangeLog
[Ada] Avoid spurious errors on dimensionality checking in GNATprove
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jul 2019 08:03:24 +0000 (08:03 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jul 2019 08:03:24 +0000 (08:03 +0000)
commit85f6c73a6b42b09f7c037bc87f470f2b92933f84
tree379d8b6a9c0283f4c1cf4dada41c41399f3b9bc4
parent5083f1198f902024ab046886551846ef3e1a3e37
[Ada] Avoid spurious errors on dimensionality checking in GNATprove

In the special GNATprove mode of the frontend, automatic inlining is
performed, which may lead to spurious errors on dimensionality checking.
Avoid performing this checking on inlined code, which has already been
checked for dimensionality errors.

There is no impact on compilation.

2019-07-11  Yannick Moy  <moy@adacore.com>

gcc/ada/

* sem_res.adb (Resolve_Call): Do not perform dimensionality
checking on inlined bodies.

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