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

2005-10-21 Thread cvs-commit at gcc dot gnu dot org
--- Comment #6 from cvs-commit at gcc dot gnu dot org 2005-10-21 18:57 --- Subject: Bug 24455 CVSROOT:/cvs/gcc Module name:gcc Branch: gomp-20050608-branch Changes by: [EMAIL PROTECTED]2005-10-21 18:57:39 Modified files: gcc:

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

2005-10-21 Thread dnovillo at gcc dot gnu dot org
--- Comment #7 from dnovillo at gcc dot gnu dot org 2005-10-21 18:59 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-10/msg01311.html -- dnovillo at gcc dot gnu dot org changed: What|Removed |Added

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

2005-10-20 Thread dnovillo at redhat dot com
--- Comment #1 from dnovillo at redhat dot com 2005-10-20 16:45 --- Subject: Re: New: [gomp] Trouble with threadprivate and extern On Thursday 20 October 2005 12:34, reichelt at gcc dot gnu dot org wrote: I'd expect that i is threadprivate in file1.c and file2.c. But you have to

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

2005-10-20 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-20 16:49 --- (In reply to comment #1) Subject: Re: New: [gomp] Trouble with threadprivate and extern On Thursday 20 October 2005 12:34, reichelt at gcc dot gnu dot org wrote: I'd expect that i is threadprivate in

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

2005-10-20 Thread reichelt at igpm dot rwth-aachen dot de
--- Comment #3 from reichelt at igpm dot rwth-aachen dot de 2005-10-20 16:50 --- Subject: Re: [gomp] Trouble with threadprivate and extern On 20 Oct, dnovillo at redhat dot com wrote: --- Comment #1 from dnovillo at redhat dot com 2005-10-20 16:45 --- Subject: Re:

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

2005-10-20 Thread Diego Novillo
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

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

2005-10-20 Thread dnovillo at redhat dot com
--- 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

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

2005-10-20 Thread dnovillo at gcc dot gnu dot org
--- Comment #5 from dnovillo at gcc dot gnu dot org 2005-10-20 17:52 --- The problem here is that when we are parsing the second declaration, we call start_decl before having parsed the threadprivate clause. This causes us to miss the attribute. One solution I'm considering is to