URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [c-c++-common/] [gomp/] [atomic-3.c] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-fopenmp -fdump-tree-ompexp" } */ /* { dg-require-effective-target cas_int } */ int *xyzzy; void f1(void) { #pragma omp atomic xyzzy++; } /* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" } } */ /* { dg-final { cleanup-tree-dump "ompexp" } } */
Go to most recent revision | Compare with Previous | Blame | View Log