aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2021-10-19 17:31:26 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-10-25 15:07:21 +0000
commit8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd (patch)
tree68e9b364139fac722daefad0ee2aec87c599e2fd /gcc
parent93c63f32a2cb49679143f4b893343fcba6f59351 (diff)
downloadgcc-8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd.zip
gcc-8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd.tar.gz
gcc-8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd.tar.bz2
[Ada] Update the inactive GMP variant of Big_Integers
gcc/ada/ * libgnat/a-nbnbin__gmp.adb (From_String): Fix predicate mismatch between subprogram declaration and body.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/libgnat/a-nbnbin__gmp.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/libgnat/a-nbnbin__gmp.adb b/gcc/ada/libgnat/a-nbnbin__gmp.adb
index 880e9a3..1516f49 100644
--- a/gcc/ada/libgnat/a-nbnbin__gmp.adb
+++ b/gcc/ada/libgnat/a-nbnbin__gmp.adb
@@ -327,7 +327,7 @@ package body Ada.Numerics.Big_Numbers.Big_Integers is
-- From_String --
-----------------
- function From_String (Arg : String) return Big_Integer is
+ function From_String (Arg : String) return Valid_Big_Integer is
function mpz_set_str
(this : access mpz_t;
str : System.Address;