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++/34595] std::copy copies the output iterator before assigning



------- 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


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