public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix omp_init_nest_lock_with_hint prototype (PR libgomp/84096)
@ 2018-01-30  1:02 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2018-01-30  1:02 UTC (permalink / raw)
  To: gcc-patches; +Cc: Christoph Spiel

Hi!

I've committed following fix to the omp_init_nest_lock_with_hint
prototype.  I've found that I've actually forgot to add those
symbols to libgomp.so*, so that will need to be done next (at that
point I've been wondering whether we change omp_lock_t/omp_nest_lock_t
to something larger or what kind of hacks we use to actually
implement the hinting; perhaps for now we'll just ignore the hint).

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.

--- libgomp/omp.h.in.jj	2018-01-03 10:42:58.454763907 +0100
+++ libgomp/omp.h.in	2018-01-29 21:14:18.611499982 +0100
@@ -101,7 +101,7 @@ extern void omp_unset_lock (omp_lock_t *
 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;

	Jakub

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-29 23:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-30  1:02 [committed] Fix omp_init_nest_lock_with_hint prototype (PR libgomp/84096) Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).