https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19495

--- Comment #27 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ben Elliston from comment #26)
> This test now passes on powerpc*-linux-gnu.

I wonder how ... the "fix" got reverted, and we still use an allocator of char
to create the storage for the COW string's _Rep, which has stricter alignment
requirements than char.

The array_allocator was eventually removed in 2019, because it was broken. But
the alignment problem still seems to be present in the COW std::string.

Reply via email to