--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--
16 matches
Mail list logo