URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tm/] [data-1.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fgnu-tm" } */ /* Test read and write on all basic types. */ static char gc; static signed char gsc; static unsigned char guc; static short gs; static unsigned short gus; static int gi; static unsigned int gui; static long gl; static unsigned long gul; static long long gll; static unsigned long long gull; static float gf; static double gd; static long double gld; void f(void) { __transaction_atomic { gc++; gsc++; guc++; gs++; gus++; gi++; gui++; gl++; gul++; gll++; gull++; gf++; gd++; gld++; } }