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

--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:1f8d01eb1476a997eb1fc686b60fccdf97747faa

commit r12-5421-g1f8d01eb1476a997eb1fc686b60fccdf97747faa
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Nov 19 18:27:59 2021 +0000

    libstdc++: One more change for Clang to support constexpr std::string
[PR103295]

    All writes into the allocated buffer need to be via traits_type::assign
    to begin lifetimes.

    libstdc++-v3/ChangeLog:

            PR libstdc++/103295
            * include/bits/basic_string.tcc (_M_construct): Use the
            traits assign member to write into allcoated memory.

Reply via email to