[Bug libstdc++/86013] std::vector::shrink_to_fit() could sometimes use realloc()
jan.kratochvil at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 5 10:05:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
--- Comment #8 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Created attachment 44236
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44236&action=edit
incredibleshrinkingvector.C
What's wrong with this implementation? The permitted operator new symbols
interposition was suggested by Pavel Labath at:
https://reviews.llvm.org/D47492#1122080
More information about the Gcc-bugs
mailing list