This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/45240] parallel.c: GOMP_parallel_end locks a mutex but fails to unlock it after atomic operation complete
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Dec 2010 15:26:50 +0000
- Subject: [Bug libgomp/45240] parallel.c: GOMP_parallel_end locks a mutex but fails to unlock it after atomic operation complete
- Auto-submitted: auto-generated
- References: <bug-45240-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45240
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-07 15:26:40 UTC ---
Author: jakub
Date: Tue Dec 7 15:26:37 2010
New Revision: 167547
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167547
Log:
Backport from mainline
2010-12-02 Jakub Jelinek <jakub@redhat.com>
PR libgomp/45240
* parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock
at the end if sync builtins aren't supported.
Modified:
branches/gcc-4_5-branch/libgomp/ChangeLog
branches/gcc-4_5-branch/libgomp/parallel.c