* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / memset.c
blob3b73ec6ee74001616b399b1ccdcde717d83fd46d
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm" } */
4 extern void *memset (void *, int, __SIZE_TYPE__);
6 char array[4] = "aaaa";
8 __attribute__((transaction_safe))
9 void *my_memset()
11 return memset(array,'b',4);
15 int main()
18 __transaction_atomic {
19 my_memset();
21 return 0;
24 /* { dg-final { scan-assembler "_ITM_memsetW" } } */