https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84049

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
What's expensive on for-6.C?
#pragma omp parallel for with 10 iterations each, doing #pragma omp atomic in
there.
For capping the number of threads, you can always just export
OMP_NUM_THREADS=32
or something similar when running make check.
Perhaps the libgomp make check could have some upper bound like that by
default, check how many threads are available and if it is more than certain
count, add OMP_NUM_THREADS=something into the environment, but certainly there
needs to be a way to override it.
Limiting OMP_NUM_THREADS to 4 by default is way too low though.

Reply via email to