[Bug libstdc++/34595] std::copy copies the output iterator before assigning
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Dec 26 20:18:00 GMT 2007
------- Comment #4 from pcarlini at suse dot de 2007-12-26 20:18 -------
Sorry about a bit of confusion on my part :( In this specific testcase there is
no miscompilation either, of course. Whether the DLV problem is ultimately the
same, I don't know at the moment (it seems so), but in any case I don't think
the library is doing anything non-conforming, here, because, as I said, we are
certainly copying output iterators everywhere (was already like this in v2) and
doing it in one place more, before the assignment as in this testcase, doesn't
seem special at all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34595
More information about the Gcc-bugs
mailing list