This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2009 16:30:43 -0000
- Subject: [Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement
- References: <bug-41351-18186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #40 from paolo dot carlini at oracle dot com 2009-10-30 16:30 -------
The last attached patch is also not ok wrt move-only types, the special case
for __k == 1 that is (trivially replacing copy -> _GLIBCXX_MOVE3 doesn't fix
it). Before going ahead this way, I would also like to see benchmark results
for __k close to 1 != 1, make sure that 2 is already fine performance-wise.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351