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 r13-613] [Ada] Fix proof of runtime unit s-imageu Date: Wed, 18 May 2022 08:45:19 +0000 (GMT) [thread overview] Message-ID: <20220518084519.C29633858C51@sourceware.org> (raw) https://gcc.gnu.org/g:9f068ad0f2f1d65349ac564178cddbe9aec39f3a commit r13-613-g9f068ad0f2f1d65349ac564178cddbe9aec39f3a Author: Claire Dross <dross@adacore.com> Date: Mon Apr 11 14:10:49 2022 +0200 [Ada] Fix proof of runtime unit s-imageu Update to provers caused some proof regressions. Fix the proof by adding an assertion. gcc/ada/ * libgnat/s-imageu.adb (Set_Image_Unsigned): Change assertion. Diff: --- gcc/ada/libgnat/s-imageu.adb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gcc/ada/libgnat/s-imageu.adb b/gcc/ada/libgnat/s-imageu.adb index d6d9d466091..69324878010 100644 --- a/gcc/ada/libgnat/s-imageu.adb +++ b/gcc/ada/libgnat/s-imageu.adb @@ -390,16 +390,9 @@ package body System.Image_U is Acc => Value) = Wrap_Option (V)); end loop; + pragma Assert (Value = 0); Prove_Unchanged; - pragma Assert - (Scan_Based_Number_Ghost - (Str => S, - From => P + 1, - To => P + Nb_Digits, - Base => 10, - Acc => Value) - = Wrap_Option (V)); P := P + Nb_Digits; end Set_Image_Unsigned;
reply other threads:[~2022-05-18 8:45 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=20220518084519.C29633858C51@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).