URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [atomic-2.c] - Rev 853
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ float x, y; void f1(void) { #pragma omp atomic x++; #pragma omp atomic x--; #pragma omp atomic ++x; #pragma omp atomic --x; #pragma omp atomic x += 1; #pragma omp atomic x -= y; #pragma omp atomic x *= 3; #pragma omp atomic x /= 3; }
Go to most recent revision | Compare with Previous | Blame | View Log