From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1914) id BC9373858435; Mon, 25 Oct 2021 15:09:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC9373858435 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Pierre-Marie de Rodat To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4681] [Ada] Update the inactive GMP variant of Big_Integers X-Act-Checkin: gcc X-Git-Author: Piotr Trojanek X-Git-Refname: refs/heads/master X-Git-Oldrev: 93c63f32a2cb49679143f4b893343fcba6f59351 X-Git-Newrev: 8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd Message-Id: <20211025150901.BC9373858435@sourceware.org> Date: Mon, 25 Oct 2021 15:09:01 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2021 15:09:01 -0000 https://gcc.gnu.org/g:8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd commit r12-4681-g8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd Author: Piotr Trojanek Date: Tue Oct 19 17:31:26 2021 +0200 [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. Diff: --- gcc/ada/libgnat/a-nbnbin__gmp.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/libgnat/a-nbnbin__gmp.adb b/gcc/ada/libgnat/a-nbnbin__gmp.adb index 880e9a3c53d..1516f492b0d 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;