URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [appendix-a/] [a.22.2.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target tls_native } */ int increment_counter_2 () { static int counter = 0; #pragma omp threadprivate(counter) counter++; return (counter); }