[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #16 from paolo dot carlini at oracle dot com 2009-03-17 13:34 --- Correction: technically 4_2-branch is still open, but no further releases are expected and will be definitely closed as soon as the 4_4-branch is created (very soon) -- http://gcc.gnu.org/bugzilla/show_bu

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #15 from paolo dot carlini at oracle dot com 2009-03-17 13:32 --- To be clear, I'm not sure this is invalid, I agree with you that we should understand the issue in better detail. I'll make sure we do the additional investigation. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread fpbeekhof at gmail dot com
--- Comment #14 from fpbeekhof at gmail dot com 2009-03-17 13:28 --- Subject: Re: generated memcpy causes trouble in assignment paolo dot carlini at oracle dot com wrote: > --- Comment #13 from paolo dot carlini at oracle dot com 2009-03-17 > 13:26 --- > If it affects only

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #13 from paolo dot carlini at oracle dot com 2009-03-17 13:26 --- If it affects only 4_2-branch would be zero, because it's no longer maintained ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39480

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2009-03-17 13:25 --- Apparently, mainline and 4_3-branch do not call memcpy, expand the operator inline. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39480

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2009-03-17 13:15 --- The component would be c++, because that is a C++ thing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39480

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread fpbeekhof at gmail dot com
--- Comment #11 from fpbeekhof at gmail dot com 2009-03-17 13:19 --- Subject: Re: generated memcpy causes trouble in assignment paolo dot carlini at oracle dot com wrote: > --- Comment #10 from paolo dot carlini at oracle dot com 2009-03-17 > 13:15 --- > The component would

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread fpbeekhof at gmail dot com
--- Comment #9 from fpbeekhof at gmail dot com 2009-03-17 13:11 --- Subject: Re: generated memcpy causes trouble in assignment paolo dot carlini at oracle dot com wrote: > --- Comment #8 from paolo dot carlini at oracle dot com 2009-03-17 12:33 > --- > Yes, if there is a bu

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-03-17 12:33 --- Yes, if there is a bug, certainly it is not in libstdc++. Also, please find somebody able to reproduce it, I can't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39480

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread fpbeekhof at gmail dot com
--- Comment #7 from fpbeekhof at gmail dot com 2009-03-17 12:21 --- Subject: Re: generated memcpy causes trouble in assignment paolo dot carlini at oracle dot com wrote: > --- Comment #5 from paolo dot carlini at oracle dot com 2009-03-17 11:28 > --- > By the way, I don't s

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread falk at debian dot org
--- Comment #6 from falk at debian dot org 2009-03-17 12:10 --- (In reply to comment #1) > calling memcpy with exactly overlapping operands is safe (obviously). It's not safe at all. A memcpy implementation might use a "prefetch with write intent" instruction that allocates a cache line

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-03-17 11:28 --- By the way, I don't see what could be possibly wrong in libstdc++: can you please tell us which specific line of code you are suspecting? Certainly, not the entire swap implementation, which is definitely the c

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread fpbeekhof at gmail dot com
--- Comment #4 from fpbeekhof at gmail dot com 2009-03-17 11:15 --- Subject: Re: generated memcpy causes trouble in assignment paolo dot carlini at oracle dot com wrote: > --- Comment #2 from paolo dot carlini at oracle dot com 2009-03-17 11:04 > --- > by the way, I cannot

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread fpbeekhof at gmail dot com
--- Comment #3 from fpbeekhof at gmail dot com 2009-03-17 11:13 --- Subject: Re: generated memcpy causes trouble in assignment rguenth at gcc dot gnu dot org wrote: > --- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-17 10:59 > --- > calling memcpy with exactly ove

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-03-17 11:04 --- by the way, I cannot reproduce it with valgrind 3.3.1 and either mainline or current 4_3-branch or 4_2-branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39480

[Bug libstdc++/39480] generated memcpy causes trouble in assignment

2009-03-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-17 10:59 --- calling memcpy with exactly overlapping operands is safe (obviously). Thus this is a bug in valgrind. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --