aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-valint.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/libgnat/s-valint.ads')
-rw-r--r--gcc/ada/libgnat/s-valint.ads18
1 files changed, 1 insertions, 17 deletions
diff --git a/gcc/ada/libgnat/s-valint.ads b/gcc/ada/libgnat/s-valint.ads
index 6045cd6..164bbfe 100644
--- a/gcc/ada/libgnat/s-valint.ads
+++ b/gcc/ada/libgnat/s-valint.ads
@@ -32,23 +32,9 @@
-- This package contains routines for scanning signed Integer values for use
-- in Text_IO.Integer_IO, and the Value attribute.
--- Preconditions in this unit are meant for analysis only, not for run-time
--- checking, so that the expected exceptions are raised. This is enforced by
--- setting the corresponding assertion policy to Ignore. Postconditions and
--- contract cases should not be executed at runtime as well, in order not to
--- slow down the execution of these functions.
-
-pragma Assertion_Policy (Pre => Ignore,
- Post => Ignore,
- Contract_Cases => Ignore,
- Ghost => Ignore,
- Subprogram_Variant => Ignore);
-
with System.Unsigned_Types;
with System.Val_Uns;
with System.Value_I;
-with System.Vs_Int;
-with System.Vs_Uns;
package System.Val_Int with SPARK_Mode is
pragma Preelaborate;
@@ -58,9 +44,7 @@ package System.Val_Int with SPARK_Mode is
package Impl is new Value_I
(Int => Integer,
Uns => Unsigned,
- Scan_Raw_Unsigned => Val_Uns.Scan_Raw_Unsigned,
- U_Spec => System.Vs_Uns.Spec,
- Spec => System.Vs_Int.Spec);
+ Scan_Raw_Unsigned => Val_Uns.Scan_Raw_Unsigned);
procedure Scan_Integer
(Str : String;