[Ada] Avoid spurious error in GNATprove mode on non-null access types
authorYannick Moy <moy@adacore.com>
Wed, 21 Aug 2019 08:29:51 +0000 (08:29 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 21 Aug 2019 08:29:51 +0000 (08:29 +0000)
commit5c34f30d16b99d7d0898d19193b3890452efa7cf
tree9df666d8b23e81743fbf6ff3da07962180b0f1f0
parent570d0072bdcdd0e9e7d6acb33f594c22efa24ac7
[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.

From-SVN: r274780
gcc/ada/ChangeLog
gcc/ada/checks.adb