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 c++/29375] gcc4.0.3 produces code that copies a structure twice



------- Comment #2 from deb at pixar dot com  2006-10-07 04:00 -------
(In reply to comment #1)
> I think this was fixed in 4.0.4 by the patch which fixed PR 23372.
> 

For various reasons, upgrading to 4.0.4 isn't an option at this time.
(a) How do I obtain the specific patch you are referring to and
(b) any idea if it would be safe to apply this patch to our current 4.0.3
source?

Also, are you saying that the fix for PR23372 also brings us back to avoiding
direct calls to memcpy?
That may be the bigger issue; the number of POD datastructures we're copying
around is probably very small.  I was really trying to uncover why we were
calling mempcy directly when I noticed the second copy.

Thanks.


-- 


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


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