2019-09-10 Kwok Cheung Yeung <kcy@codesourcery.com>
libgomp/
* config/gcn/team.c (gomp_gcn_exit_kernel): Free GCN thread list.
(cherry picked from openacc-gcc-9-branch commit
6cee7b36a0fa68d0ca1ad4cc7fb860c54eaf4c6b)
+2019-09-10 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * config/gcn/team.c (gomp_gcn_exit_kernel): Free GCN thread list.
+
2019-09-10 Andrew Stubbs <ams@codesourcery.com>
* plugin/plugin-gcn.c (HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT): Define.
gomp_gcn_exit_kernel (void)
{
gomp_free_thread (gcn_thrs ());
+ free (gcn_thrs ());
}
/* This function contains the idle loop in which a thread waits