* team.c (gomp_team_start): Initialize pool->threads[0].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269971
138bc75d-0d04-0410-961f-
82ee72b054a4
+2019-03-27 Kevin Buettner <kevinb@redhat.com>
+
+ * team.c (gomp_team_start): Initialize pool->threads[0].
+
2019-02-22 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.oacc-c++/c++.exp: Specify
= gomp_realloc (pool->threads,
pool->threads_size
* sizeof (struct gomp_thread *));
+ /* Add current (master) thread to threads[]. */
+ pool->threads[0] = thr;
}
/* Release existing idle threads. */