[Bug libstdc++/80331] unused const std::string not optimized away

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 14 16:05:31 GMT 2024


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

--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Original testcase is solved by
https://gcc.gnu.org/pipermail/gcc-patches/2024-December/671599.html
We still won't optimize longer strings because _M_create is not inline.


More information about the Gcc-bugs mailing list