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