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

2014-10-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

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

2014-10-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 --- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Thu Oct 9 18:17:28 2014 New Revision: 216047 URL: https://gcc.gnu.org/viewcvs?rev=216047root=gccview=rev Log: PR libstdc++/61909 * include/std/functional

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

2014-10-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 --- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org --- std::functionvoid() f3((X())); // abort This works now, but the lambda still needs to allocate.

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

2014-09-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

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

2014-08-04 Thread lukeocamden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 --- Comment #4 from lukeocamden at gmail dot com --- (In reply to Jonathan Wakely from comment #3) (In reply to lukeocamden from comment #2) (In reply to Jonathan Wakely from comment #1) This is by design. I don't really follow - do

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

2014-08-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 --- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org --- I already have a patch to do it

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

2014-08-01 Thread lukeocamden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 --- Comment #2 from lukeocamden at gmail dot com --- (In reply to Jonathan Wakely from comment #1) This is by design. I don't really follow - do you mean a consequence of the design, or does the standard mandate copying/moving the object into

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

2014-08-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 --- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to lukeocamden from comment #2) (In reply to Jonathan Wakely from comment #1) This is by design. I don't really follow - do you mean a consequence of the design, or

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

2014-07-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61909 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement