URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [atomic-7.c] - Rev 516
Compare with Previous | Blame | View Log
/* { dg-do compile } */ double x, y; void f2(void) { #pragma omp atomic y++; #pragma omp atomic y--; #pragma omp atomic ++y; #pragma omp atomic --y; #pragma omp atomic y += 1; #pragma omp atomic y -= x; #pragma omp atomic y *= 3; #pragma omp atomic y /= 3; }