URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [memopt-13.c] - Rev 706
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fgnu-tm -O -fdump-tree-tmmark" } */ struct large { int x[100]; }; struct large large_global; extern struct large function (void) __attribute__((transaction_safe)); void f() { __transaction_atomic { large_global = function(); } } /* { dg-final { scan-tree-dump-times "memmoveRtWt \\\(&large_global," 1 "tmmark" } } */ /* { dg-final { cleanup-tree-dump "tmmark" } } */
Go to most recent revision | Compare with Previous | Blame | View Log