From: Hans-Peter Nilsson <hp@axis.com>
To: Jonathan Wakely <jwakely@redhat.com>
Cc: <schwab@suse.de>, <libstdc++@gcc.gnu.org>, <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH 1/2] libstdc++: Replace padding bits with a bit-field in __format::_Spec
Date: Thu, 1 Feb 2024 20:50:40 +0100 [thread overview]
Message-ID: <20240201195040.7BF0E20420@pchp3.se.axis.com> (raw)
In-Reply-To: <CACb0b4=6xUijhb2hZ6Otv8L6WLxGsQxFLLmbsDjvC_Fs5iyzdA@mail.gmail.com> (message from Jonathan Wakely on Thu, 1 Feb 2024 19:24:49 +0000)
> From: Jonathan Wakely <jwakely@redhat.com>
> Date: Thu, 1 Feb 2024 19:24:49 +0000
> I think I'd prefer to keep the reserved bits together, but a simpler
> way to avoid 'unsigned long' making a difference for
> PCC_BITFIELD_TYPE_MATTERS targets would be to use no more than 16 bits
> but do:
>
> unsigned _M_reserved : 1;
> unsigned _M_reserved2 : 16;
>
Hah! Genious! :-)
brgds, H-P
prev parent reply other threads:[~2024-02-01 19:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 15:36 Jonathan Wakely
2024-02-01 15:36 ` [PATCH 2/2] libstdc++: Handle encodings in localized chrono formatting [PR109162] Jonathan Wakely
2024-02-01 16:43 ` Arsen Arsenović
2024-02-01 16:16 ` [PATCH 1/2] libstdc++: Replace padding bits with a bit-field in __format::_Spec Hans-Peter Nilsson
2024-02-01 17:08 ` Hans-Peter Nilsson
2024-02-01 17:21 ` Jonathan Wakely
2024-02-01 16:33 ` Andreas Schwab
2024-02-01 17:22 ` Jonathan Wakely
2024-02-01 17:28 ` Jonathan Wakely
2024-02-01 19:24 ` Jonathan Wakely
2024-02-01 19:50 ` Hans-Peter Nilsson [this message]
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=20240201195040.7BF0E20420@pchp3.se.axis.com \
--to=hp@axis.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jwakely@redhat.com \
--cc=libstdc++@gcc.gnu.org \
--cc=schwab@suse.de \
/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: link
Be 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).