URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [gomp/] [atomic-11.c] - Rev 324
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR middle-end/36877 */ /* { dg-do compile } */ /* { dg-options "-fopenmp" } */ /* { dg-options "-fopenmp -march=i386" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ int i; float f; void foo (void) { #pragma omp atomic i++; #pragma omp atomic f += 1.0; } /* { dg-final { scan-assembler-not "__sync_(fetch|add|bool|val)" { target i?86-*-* x86_64-*-* powerpc*-*-* ia64-*-* s390*-*-* sparc*-*-* } } } */
Go to most recent revision | Compare with Previous | Blame | View Log