This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/24455] [gomp] Trouble with threadprivate and extern



------- Comment #4 from dnovillo at redhat dot com  2005-10-20 17:07 -------
Subject: Re:  [gomp] Trouble with threadprivate and extern

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24455


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]