This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/32468] number of threads in a parallel region depends on number of SECTIONs and MAX_THREADS
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2007 19:26:36 -0000
- Subject: [Bug libgomp/32468] number of threads in a parallel region depends on number of SECTIONs and MAX_THREADS
- References: <bug-32468-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jakub at gcc dot gnu dot org 2007-07-02 19:26 -------
Subject: Bug 32468
Author: jakub
Date: Mon Jul 2 19:26:25 2007
New Revision: 126227
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126227
Log:
PR libgomp/32468
* sections.c (GOMP_parallel_sections_start): Only decrease
number of threads to COUNT if dyn_var is true.
* testsuite/libgomp.c/pr32468.c: New test.
Added:
branches/gcc-4_2-branch/libgomp/testsuite/libgomp.c/pr32468.c
Modified:
branches/gcc-4_2-branch/libgomp/ChangeLog
branches/gcc-4_2-branch/libgomp/sections.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32468