This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/61909] Small function optimization not applied to small objects


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]