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++/51965] Redundant move constructions in heap algorithms


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

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-01-23 15:26:34 UTC ---
Indeed, I double checked that *before* changing the functions to use moves we
had plain copies, that is the original HP/SGI functions had copies, nothing was
passed by reference. Thus just doing what is suggested is unlikely to be
correct.


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