Skip to content
Snippets Groups Projects
Commit f17fac86 authored by dfranke's avatar dfranke
Browse files

PR libgomp/29949

	* env.c (omp_set_num_threads): Set illegal thread count to 1.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119511 138bc75d-0d04-0410-961f-82ee72b054a4
parent aced8a0b
No related merge requests found
2006-12-04 Daniel Franke <franke.daniel@gmail.com>
PR libgomp/29949
* env.c (omp_set_num_threads): Set illegal thread count to 1.
2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure: Regenerate.
......
......@@ -225,7 +225,7 @@ initialize_env (void)
void
omp_set_num_threads (int n)
{
gomp_nthreads_var = n;
gomp_nthreads_var = (n > 0 ? n : 1);
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment