This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/61909] Small function optimization not applied to small objects
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Oct 2014 18:35:48 +0000
- Subject: [Bug libstdc++/61909] Small function optimization not applied to small objects
- Auto-submitted: auto-generated
- References: <bug-61909-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
std::function<void()> f3((X())); // abort
This works now, but the lambda still needs to allocate.