omp-low.c (lower_omp_critical): Mark critical sections inside target functions as...
authorAndrey Turetskiy <andrey.turetskiy@intel.com>
Fri, 28 Nov 2014 13:59:49 +0000 (13:59 +0000)
committerIlya Verbin <iverbin@gcc.gnu.org>
Fri, 28 Nov 2014 13:59:49 +0000 (13:59 +0000)
commit476ff787366cedb6f4123c0a5647522698570d5f
tree22ee2a0bf35a38fa8e4d06500af857978daffe56
parentf672337f6d90a131b716f1f42cb82b8fd0c43b78
omp-low.c (lower_omp_critical): Mark critical sections inside target functions as offloadable.

gcc/
* omp-low.c (lower_omp_critical): Mark critical sections
inside target functions as offloadable.
libgomp/
* testsuite/libgomp.c/target-critical-1.c: New test.

Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
From-SVN: r218158
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/target-critical-1.c [new file with mode: 0644]