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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <[email protected]>:

https://gcc.gnu.org/g:4e2b29c333fcbead93b2911326cff4218d3c155c

commit r17-2661-g4e2b29c333fcbead93b2911326cff4218d3c155c
Author: Nathan Blackburn <[email protected]>
Date:   Wed Jul 22 16:48:38 2026 +0000

    libstdc++: Remove noexcept from basic_string instantiations [PR126327]

    The explicit instantiations of basic_string's default constructor used
    an unconditional noexcept specification. For the fully-dynamic COW
    string, those default constructors are noexcept(false).

    Remove noexcept from both the char and wchar_t instantiations.

    libstdc++-v3/ChangeLog:

            PR libstdc++/126327
            * src/c++20/string-inst.cc (basic_string::basic_string): Remove
            noexcept.

Reply via email to