[Bug tree-optimization/105545] [12/13 Regression] Warning for string assignment with _GLIBCXX_ASSERTIONS since r12-3347-g8af8abfbbace49e6
tom at compton dot nu
gcc-bugzilla@gcc.gnu.org
Tue May 31 07:33:42 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545
--- Comment #6 from Tom Hughes <tom at compton dot nu> ---
The reason it only happens with -D_GLIBCXX_ASSERTIONS or in C++20 mode is that
both of those stop the use of the explicit instantiations for basic_string and
cause them to be implicitly instantiated.
More information about the Gcc-bugs
mailing list