https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126327
--- Comment #2 from Nathan Blackburn <Nathan.Blackburn at arm dot com> ---
I will submit the patch to fix this bug.
It has been fixed by only specifying noexcept when
_GLIBCXX_FULLY_DYNAMIC_STRING is zero, for both the char and wchar_t
instantiations:
template basic_string<char>::basic_string()
#if _GLIBCXX_FULLY_DYNAMIC_STRING == 0
_GLIBCXX_NOEXCEPT
#endif
;
