This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: OMP WORKSHARE with blocks / PR 50690
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Sat, 03 Dec 2011 14:59:13 +0100
- Subject: Re: OMP WORKSHARE with blocks / PR 50690
- References: <4EDA19F2.5060806@netcologne.de> <4EDA2166.9060600@net-b.de>
Hi Tobias,
Have you tried -fdump-tree-original? Then you understand why it fails:
I understand how it fails the way gcc implements this. I was
asking if gcc's implementation had a bug, or if my program was wrong.
(I'll fix the bug by making all temporary variables PRIVATE - this
seems to be the clearest solution in this case).
Thomas