This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely
- From: "singler at kit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 13:23:36 +0000
- Subject: [Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely
- Auto-submitted: auto-generated
- References: <bug-47433-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47433
--- Comment #6 from Johannes Singler <singler at kit dot edu> 2011-01-24 13:23:26 UTC ---
Taking __key as value type in (some variants of __delete_min_insert) makes
sense, since it is also used as a buffer for storing the current loser. Having
a local variable that is initialized with the const ref would have the same
effect, would it not?
Johannes