On 01/05/12 17:44, Patrick Marlier wrote:
On Darwin, the memcpy is a macro to provide secure string operations
(FORTIFY_LEVEL > 0). I propose to remove the string.h include and add
manually the declaration.
Tested on x86_64-apple-darwin and on x86_64-unknown-linux-gnu.
This solves PR51655.
Patrick Marlier.
testsuite/ChangeLog
2012-01-05 Patrick Marlier <patrick.marl...@gmail.com>
PR testsuite/51655
* c-c++-common/tm/memcpy-1.c: Declare memcpy instead of
including <string.h>.
This looks reasonable. Richard will have to give the approval.
Thanks.