comparison gcc/testsuite/c-c++-common/gomp/atomic-3.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-fopenmp -fdump-tree-ompexp" } */
3 /* { dg-require-effective-target cas_int } */
4
5 int *xyzzy;
6
7 void f1(void)
8 {
9 #pragma omp atomic
10 xyzzy++;
11 }
12
13 /* { dg-final { scan-tree-dump-times "xyzzy, 4" 1 "ompexp" } } */