Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / memopt-13.c
blob9db096a3407c8d185a101f96ffb52f9a5e636790
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O -fdump-tree-tmmark" } */
4 struct large { int x[100]; };
5 struct large large_global;
6 extern struct large function (void) __attribute__((transaction_safe));
8 void f()
10 __transaction_atomic {
11 large_global = function();
15 /* { dg-final { scan-tree-dump-times "memcpyRnWt \\\(&large_global," 1 "tmmark" } } */