]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Avoid spurious error in GNATprove mode on non-null access types
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Aug 2019 08:29:51 +0000 (08:29 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Aug 2019 08:29:51 +0000 (08:29 +0000)
commitb4c01a1767ecf0d754e6163297d5dab9bef97955
tree9df666d8b23e81743fbf6ff3da07962180b0f1f0
parentc7ff8e7ac212d40349d6c9a353f383fa5e8d34a8
[Ada] Avoid spurious error in GNATprove mode on non-null access types

GNATprove directly handles non-null access checks, and requires that the
frontend does not insert explicit checks in the form of conditional
exceptions being raised. Now fixed.

There is no impact on compilation.

2019-08-21  Yannick Moy  <moy@adacore.com>

gcc/ada/

* checks.adb (Install_Null_Excluding_Check): Do not install
check in GNATprove mode.

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