]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Avoid confusing warning on exception propagation in GNATprove mode
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 08:07:31 +0000 (08:07 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 08:07:31 +0000 (08:07 +0000)
commitdacc0c1e3902ab45d0e785c058d5a31feac09079
tree6512635c32c1ae50f000bf85a000aaa7b92d451e
parent423c4f984390e5cd4c675344824053a6a719e63d
[Ada] Avoid confusing warning on exception propagation in GNATprove mode

When compiling with the restriction No_Exception_Propagation, GNAT compiler
may issue a warning about exceptions not being propagated. This warning is
useless and confusing to users for GNATprove analysis, as GNATprove
precisely detects possible exceptions, so disable the warning in that mode.

2018-07-17  Yannick Moy  <moy@adacore.com>

gcc/ada/

* gnat1drv.adb (Gnat1drv): Do not issue warning about exception not
being propagated in GNATprove mode.

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