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
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