re PR libgomp/29949 (implement argument checking for user accessable runtime routines)
PR libgomp/29949 * env.c (omp_set_num_threads): Set illegal thread count to 1. From-SVN: r119511
This commit is contained in:
parent
fe264e58e1
commit
62bd621610
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user