This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c/24455] [gomp] Trouble with threadprivate and extern
- From: Diego Novillo <dnovillo at redhat dot com>
- To: gcc-bugs at gcc dot gnu dot org, gcc-bugzilla at gcc dot gnu dot org
- Date: Thu, 20 Oct 2005 13:07:25 -0400
- Subject: Re: [Bug c/24455] [gomp] Trouble with threadprivate and extern
- References: <bug-24455-1771@http.gcc.gnu.org/bugzilla/> <20051020165058.23679.qmail@sourceware.org>
On Thursday 20 October 2005 12:50, reichelt at igpm dot rwth-aachen dot de
> Doesn't translation unit cover the include file?
>
> But anyway. How should I mark it threadprivate in file2.c?
> Adding "#pragma omp threadprivate (i)" before or after "int i;"
> doesn't work.
>
Indeed, sorry about that. I misread your code. I'll take a look.