Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/gomp/atomic-13.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 /* PR middle-end/45423 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-fopenmp -fdump-tree-gimple -g0 -O2 -Wno-deprecated" } */ | |
4 /* atomicvar should never be referenced in between the barrier and | |
5 following #pragma omp atomic_load. */ | |
6 /* { dg-final { scan-tree-dump-not "barrier\[^#\]*atomicvar" "gimple" } } */ | |
7 /* { dg-skip-if "invalid in C++17" { c++17 } } */ | |
8 | |
9 #include "atomic-12.c" |