[Bug libstdc++/60621] std::vector::emplace_back generates massively more code than push_back

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 23 08:24:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60621

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Some things that help:
-fabi-version=0
-fwhole-program (so it knows emplace_back won't be used anywhere else, and it
can inline it and remove the unneeded paths)



More information about the Gcc-bugs mailing list