------- Additional Comments From baldrick at free dot fr 2005-01-13 10:47 ------- Subject: Re: Overlapping memcpy with big struct copies (ACATS c64106a)
> > Would you like me to file a separate report for them? Here is cxa4009 by > > the way: > > Yes please because this is a related issue but I think it might be an Ada > front-end bug rather than what > C64106A is which is a middle-end one as shown by the C example. I filed a separate bug report for CXA4009 and CXA4020: [Bug ada/19419]. By the way, I've tried to imagine how a memcpy with source==target can cause problems, without much success. Any hints? :) The only thing I could come up with was: if there are two copies of the same bit of memory (eg: one in cache, the other in main memory; or one in backing store, one in memory), with one copy being out of date; and the memcpy causing the out-of-date one to be written on top of the up-to-date one somehow... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19410