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-6225] [Ada] Fix lemma in generic unit System.Arith_Double Date: Wed, 5 Jan 2022 11:33:26 +0000 (GMT) [thread overview] Message-ID: <20220105113326.F2EE73858006@sourceware.org> (raw) https://gcc.gnu.org/g:50d8b1066a46cc134c1accc270c9be1b1cae8bc2 commit r12-6225-g50d8b1066a46cc134c1accc270c9be1b1cae8bc2 Author: Yannick Moy <moy@adacore.com> Date: Mon Nov 29 16:15:32 2021 +0100 [Ada] Fix lemma in generic unit System.Arith_Double gcc/ada/ * libgnat/s-aridou.adb (Lemma_Word_Commutation): Fix for instances with other values of Single_Size. Diff: --- gcc/ada/libgnat/s-aridou.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/ada/libgnat/s-aridou.adb b/gcc/ada/libgnat/s-aridou.adb index 0a75f08fcb9..57d427b147e 100644 --- a/gcc/ada/libgnat/s-aridou.adb +++ b/gcc/ada/libgnat/s-aridou.adb @@ -541,7 +541,8 @@ is procedure Lemma_Word_Commutation (X : Single_Uns) with Ghost, - Post => Big_2xx32 * Big (Double_Uns (X)) = Big (2**32 * Double_Uns (X)); + Post => Big_2xx32 * Big (Double_Uns (X)) + = Big (2**Single_Size * Double_Uns (X)); ----------------------------- -- Local lemma null bodies --
reply other threads:[~2022-01-05 11:33 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=20220105113326.F2EE73858006@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).