Re: [testsuite,trans-mem] memcpy-1.c testcase

2012-01-06 Thread Richard Henderson
On 01/06/2012 10:44 AM, Patrick Marlier wrote: > 2012-01-05 Patrick Marlier > > PR testsuite/51655 > * c-c++-common/tm/memcpy-1.c: Declare memcpy instead of > including . Applied. r~

Re: [testsuite,trans-mem] memcpy-1.c testcase

2012-01-06 Thread Aldy Hernandez
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. Patr

[testsuite,trans-mem] memcpy-1.c testcase

2012-01-05 Thread Patrick Marlier
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