[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 15 00:00:00 GMT 2009



------- Comment #10 from potswa at mac dot com  2009-09-14 23:59 -------
I'll look into it. That's a long list to do and learn ;v) .

I think the general idea here is that the compiler is good at optimizing out
the useless moves generated by swap. It turns out that my code has less of a
straight line access pattern than the current impl, so I'd like to rewrite
first in any case. Can you point me to the test cases?


-- 


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



More information about the Gcc-bugs mailing list