Backported from mainline

2018-01-29  Christoph Spiel  <cspiel@freenet.de>
		    Jakub Jelinek  <jakub@redhat.com>

	PR libgomp/84096
	* omp.h.in (omp_init_nest_lock_with_hint): Use omp_nest_lock_t
	instead of omp_lock_t.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@262058 138bc75d-0d04-0410-961f-82ee72b054a4
This commit is contained in:
jakub 2018-06-25 17:17:50 +00:00
parent b834c610ac
commit 00991ea6f3
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,13 @@
2018-06-25 Jakub Jelinek <jakub@redhat.com>
Backported from mainline
2018-01-29 Christoph Spiel <cspiel@freenet.de>
Jakub Jelinek <jakub@redhat.com>
PR libgomp/84096
* omp.h.in (omp_init_nest_lock_with_hint): Use omp_nest_lock_t
instead of omp_lock_t.
2017-11-24 Jakub Jelinek <jakub@redhat.com>
PR fortran/81304

View File

@ -101,7 +101,7 @@ extern void omp_unset_lock (omp_lock_t *) __GOMP_NOTHROW;
extern int omp_test_lock (omp_lock_t *) __GOMP_NOTHROW;
extern void omp_init_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;
extern void omp_init_nest_lock_with_hint (omp_lock_t *, omp_lock_hint_t)
extern void omp_init_nest_lock_with_hint (omp_nest_lock_t *, omp_lock_hint_t)
__GOMP_NOTHROW;
extern void omp_destroy_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;
extern void omp_set_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;