r261734 - in /branches/gomp-5_0-branch/gcc: c-f...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Jun 19 09:11:00 GMT 2018
Author: jakub
Date: Tue Jun 19 09:11:20 2018
New Revision: 261734
URL: https://gcc.gnu.org/viewcvs?rev=261734&root=gcc&view=rev
Log:
c-family/
* c-common.h (c_finish_omp_flush): Add MO argument.
* c-omp.c: Include memmodel.h.
(c_finish_omp_flush): Add MO argument, if not MEMMODEL_LAST, emit
__atomic_thread_fence call with the given value.
c/
* c-parser.c: Include memmodel.h.
(c_parser_omp_flush): Parse flush with memory-order-clause.
cp/
* cp-tree.h (finish_omp_flush): Add MO argument.
* parser.c: Include memmodel.h.
(cp_parser_omp_flush): Parse flush with memory-order-clause.
* semantics.c (finish_omp_flush): Add MO argument, if not
MEMMODEL_LAST, emit __atomic_thread_fence call with the given value.
testsuite/
* c-c++-common/gomp/flush-1.c: New test.
* c-c++-common/gomp/flush-2.c: New test.
Added:
branches/gomp-5_0-branch/gcc/testsuite/c-c++-common/gomp/flush-1.c
branches/gomp-5_0-branch/gcc/testsuite/c-c++-common/gomp/flush-2.c
Modified:
branches/gomp-5_0-branch/gcc/c-family/ChangeLog.gomp
branches/gomp-5_0-branch/gcc/c-family/c-common.h
branches/gomp-5_0-branch/gcc/c-family/c-omp.c
branches/gomp-5_0-branch/gcc/c/ChangeLog.gomp
branches/gomp-5_0-branch/gcc/c/c-parser.c
branches/gomp-5_0-branch/gcc/cp/ChangeLog.gomp
branches/gomp-5_0-branch/gcc/cp/cp-tree.h
branches/gomp-5_0-branch/gcc/cp/parser.c
branches/gomp-5_0-branch/gcc/cp/semantics.c
branches/gomp-5_0-branch/gcc/testsuite/ChangeLog.gomp
More information about the Gcc-cvs
mailing list