Commit 4ee2f830 by Patrick Marlier Committed by Richard Henderson

re PR testsuite/51655 (FAIL: c-c++-common/tm/memcpy-1.c (test for excess errors))

PR testsuite/51655
        * c-c++-common/tm/memcpy-1.c: Declare memcpy instead of
        including <string.h>.

From-SVN: r182972
parent f9f96987
2012-01-06 Patrick Marlier <patrick.marlier@gmail.com>
PR testsuite/51655
* c-c++-common/tm/memcpy-1.c: Declare memcpy instead of
including <string.h>.
2012-01-06 Jason Merrill <jason@redhat.com>
* g++.dg/abi/mangle51.C: New.
......
/* { dg-do compile } */
/* { dg-options "-fgnu-tm" } */
#include <string.h>
typedef __SIZE_TYPE__ size_t;
#ifdef __cplusplus
extern "C"
#endif
void *memcpy (void *__restrict, const void *__restrict, size_t);
__attribute__((transaction_safe))
void *wmemcpy(void *dest, const void *src, size_t n)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment