From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] PR libstdc++/90046 fix build failure on epiphany-elf
Date: Tue, 16 Apr 2019 14:50:00 -0000 [thread overview]
Message-ID: <20190416142506.GV943@redhat.com> (raw)
In-Reply-To: <20190411195814.GA3289@redhat.com>
On 11/04/19 20:58 +0100, Jonathan Wakely wrote:
>The epiphany-elf target aligns structs to 8 bytes, which causes the
>static_assert(alignof(_Chunk) == 1) to fail.
>
>Instead of requiring _Chunks to be positionable at any alignment, ensure
>new buffers are aligned to alignof(_Chunk). Because the buffer size is a
>power of two, we know that both the buffer size and sizeof(_Chunk) are
>multiples of alignof(_Chunk). So is p is aligned to alignof(_Chunk) then
Oops, that was meant to say "So if p is aligned to ..."
prev parent reply other threads:[~2019-04-16 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-11 20:16 Jonathan Wakely
2019-04-16 14:50 ` Jonathan Wakely [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=20190416142506.GV943@redhat.com \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=libstdc++@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: 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).