This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp]: Locate correct libgcc_s.so for libgomp testing
On Thursday 10 November 2005 09:29, Jakub Jelinek wrote:
> It will work, unless you use #pragma omp threadprivate. I think there
> is a lot of sources out there that don't ever use threadprivate vars.
> From the sample sources I have on my disk (cam1, cp2k, jacobi.f, md.f,
> NPB2.3-omp-C and openmpbench_[CF]_v2), only NPB2.3-omp-C and
> openmpbench_[CF]_v2 use threadprivate vars.
>
But we still open ourselves to random bug reports because of this. So, we
either disable libgomp for these targets, or we emit a syntax error when
we see #pragma omp threadprivate. Perhaps the latter is a better way.