URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [appendix-a/] [a.22.1.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target tls } */ int counter = 0; #pragma omp threadprivate(counter) int increment_counter () { counter++; return (counter); }