aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb3
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9b8370a..5d752d8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2020-11-01 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/fixed_points/fixed_points.adb: Replace use of
+ System.Min_Int and System.Max_Int with smaller hardcoded
+ constants.
+
2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
* configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
diff --git a/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb b/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb
index dd45da8..a2720e3 100644
--- a/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb
+++ b/gdb/testsuite/gdb.ada/fixed_points/fixed_points.adb
@@ -25,8 +25,7 @@ procedure Fixed_Points is
type Base_Fixed_Point_Type is
delta 1.0 / 16.0
- range (System.Min_Int / 2) * 1.0 / 16.0 ..
- (System.Max_Int / 2) * 1.0 / 16.0;
+ range -2147483648 * 1.0 / 16.0 .. 2147483647 * 1.0 / 16.0;
subtype Fixed_Point_Subtype is
Base_Fixed_Point_Type range -50.0 .. 50.0;