Re: [PATCH] Remove "bogus" g++.dg/init/copy7.C testcase

2011-11-03 Thread Richard Guenther
On Mon, Oct 10, 2011 at 2:17 PM, Richard Guenther wrote: > On Mon, Aug 15, 2011 at 2:42 PM, Richard Guenther wrote: >> >> The g++.dg/init/copy7.C testcase checks whether the C++ frontend >> guards memcpy it emits via a conditional verifying that src != dst >> because calling memcpy with overlappi

Re: [PATCH] Remove "bogus" g++.dg/init/copy7.C testcase

2011-10-10 Thread Richard Guenther
On Mon, Aug 15, 2011 at 2:42 PM, Richard Guenther wrote: > > The g++.dg/init/copy7.C testcase checks whether the C++ frontend > guards memcpy it emits via a conditional verifying that src != dst > because calling memcpy with overlapping source / destination is > not supported. > > The testcase is

Re: [PATCH] Remove "bogus" g++.dg/init/copy7.C testcase

2011-08-15 Thread Mike Stump
On Aug 15, 2011, at 5:42 AM, Richard Guenther wrote: > The argument still holds that no reasonable memcpy implementation > will reject the src == dest case. Hum... Sounds like if that's the case that we should document it in the manual as something we expect (requirement) of the memcpy implement

[PATCH] Remove "bogus" g++.dg/init/copy7.C testcase

2011-08-15 Thread Richard Guenther
The g++.dg/init/copy7.C testcase checks whether the C++ frontend guards memcpy it emits via a conditional verifying that src != dst because calling memcpy with overlapping source / destination is not supported. The testcase is misguided though (and the C++ frontend was, until recently) - the midd