public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4681] [Ada] Update the inactive GMP variant of Big_Integers Date: Mon, 25 Oct 2021 15:09:01 +0000 (GMT) [thread overview] Message-ID: <20211025150901.BC9373858435@sourceware.org> (raw) https://gcc.gnu.org/g:8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd commit r12-4681-g8bada6e9751abd00fe9b1bd1d7fcfa073042e4dd Author: Piotr Trojanek <trojanek@adacore.com> 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;
reply other threads:[~2021-10-25 15:09 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211025150901.BC9373858435@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).