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-4164] [Ada] Minor code clean-up Date: Tue, 5 Oct 2021 08:23:46 +0000 (GMT) [thread overview] Message-ID: <20211005082346.73EC83857011@sourceware.org> (raw) https://gcc.gnu.org/g:b2b2fe2d679dec37e30b86c73fefa9d7e920f4ca commit r12-4164-gb2b2fe2d679dec37e30b86c73fefa9d7e920f4ca Author: Pascal Obry <obry@adacore.com> Date: Thu Sep 16 16:23:07 2021 +0200 [Ada] Minor code clean-up gcc/ada/ * libgnat/g-forstr.adb (Get_Formatted): Minor code clean-up. Diff: --- gcc/ada/libgnat/g-forstr.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/libgnat/g-forstr.adb b/gcc/ada/libgnat/g-forstr.adb index 64c4cb608ae..71d17f12b73 100644 --- a/gcc/ada/libgnat/g-forstr.adb +++ b/gcc/ada/libgnat/g-forstr.adb @@ -420,7 +420,7 @@ package body GNAT.Formatted_String is -- Zero padding if required and possible - if F_Spec.Left_Justify = False + if not F_Spec.Left_Justify and then F_Spec.Zero_Pad and then F_Spec.Width > Len + Value'First - S then
reply other threads:[~2021-10-05 8:23 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=20211005082346.73EC83857011@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).