aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2017-11-16 15:56:41 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2017-11-16 15:56:41 +0000
commitd2ca577995765e99c5cb21d30ab3baf81398ce39 (patch)
tree8d82214825fa0e7f0b78b1314b1f83ec4ebf42c6 /gcc/ada/debug.adb
parentc82387ccc48a6659b3d4cd206cab30f87894ca0e (diff)
downloadgcc-d2ca577995765e99c5cb21d30ab3baf81398ce39.zip
gcc-d2ca577995765e99c5cb21d30ab3baf81398ce39.tar.gz
gcc-d2ca577995765e99c5cb21d30ab3baf81398ce39.tar.bz2
[multiple changes]
2017-11-16 Steve Baird <baird@adacore.com> * debug.adb: Update another comment to indicate gnat2scil's use of the -gnatd.7 switch. 2017-11-16 Bob Duff <duff@adacore.com> * exp_ch6.adb (Expand_Call_Helper): Avoid creating a transient scope in the case of nested build-in-place calls. From-SVN: r254827
Diffstat (limited to 'gcc/ada/debug.adb')
-rw-r--r--gcc/ada/debug.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb
index 75e9591..06bec39 100644
--- a/gcc/ada/debug.adb
+++ b/gcc/ada/debug.adb
@@ -827,6 +827,12 @@ package body Debug is
-- referenced by the generated C code. This debug flag restores the
-- output of all the types.
+ -- d.7 Indicates (to gnat2scil) that CodePeer is being invoked as a
+ -- prover by the SPARK tools and that therefore gnat2scil should
+ -- avoid SCIL generation strategies which can introduce soundness
+ -- issues (e.g., assuming that a low bound of an array parameter
+ -- of an unconstrained subtype belongs to the index subtype).
+
-- d.9 Enable build-in-place for function calls returning some nonlimited
-- types.