https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94293
--- Comment #3 from Eyal Rozenberg <eyalroz at technion dot ac.il> --- (In reply to Marc Glisse from comment #1) You should probably post that comment on the second, related, bug 94294 - which is about the fact that GCC keeps the new and delete. This one is strictly about the population of the string, given that new and delete are called.