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++/42832] Revisit std::function for aliasing issues



------- Comment #2 from paolo dot carlini at oracle dot com  2010-01-24 18:42 -------
Richard, I'm sorry, I realize now that I'm confused about an important point:
does your analysis of function::swap mean that we are *already* miscompiling
it? Or, are we going to commit patches which will lead to miscompilations in
4.5?

Because otherwise, I don't really think it makes sense to have an interim
version of the code using std::memcpy (at least not for the C+0x version): for
4.6.0 we could as well move directly to the optimized but correct solution - in
other terms we didn't really understand each other the last week, and this
issue should not depend on 42834, on your 42845 instead and should be targeted
to 4.6.0.


-- 


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


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