[Ada] Removing support for SCIL "contract-only" subprogram bodies
commitde70d01f1a3f52654d39ecb97bd769032e5e2a60
authorJavier Miranda <miranda@adacore.com>
Fri, 5 Jul 2019 07:02:28 +0000 (5 07:02 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Fri, 5 Jul 2019 07:02:28 +0000 (5 07:02 +0000)
treef824752c3278aa4f5c46ad97fbad6e537c7ffac9
parent034a6629f4b3d64bf53dda42bf79b328c6d83190
[Ada] Removing support for SCIL "contract-only" subprogram bodies

Remove support added for CodePeer (which was never enabled by default;
it was controlled by the -gnatd.K option) for generation of SCIL
"contract-only" subprogram bodies. These were intended for use when a
subprogram's "real" body is unavailable but the subprogram spec has
pre/post-conditions specified.

2019-07-05  Javier Miranda  <miranda@adacore.com>

gcc/ada/

* debug.adb (-gnatd.K): Leave available this switch.
* contracts.adb (Build_And_Analyze_Contract_Only_Subprograms):
Remove.
* scil_ll.ads, scil_ll.adb (Contract_Only_Body_Flag,
Contract_Only_Body_Nodes, Get_Contract_Only_Body,
Is_Contract_Only_Body, Set_Contract_Only_Body): Remove.

From-SVN: r273111
gcc/ada/ChangeLog
gcc/ada/contracts.adb
gcc/ada/debug.adb
gcc/ada/scil_ll.adb
gcc/ada/scil_ll.ads