This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50564] [4.7 Regression] Front-end optimization - ICE with FORALL
- From: "tkoenig at netcologne dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Oct 2011 18:10:37 +0000
- Subject: [Bug fortran/50564] [4.7 Regression] Front-end optimization - ICE with FORALL
- Auto-submitted: auto-generated
- References: <bug-50564-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50564
--- Comment #7 from tkoenig at netcologne dot de <tkoenig at netcologne dot de> 2011-10-09 18:10:37 UTC ---
Am 09.10.2011 18:14, schrieb burnus at gcc dot gnu.org:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50564
>
> --- Comment #6 from Tobias Burnus<burnus at gcc dot gnu.org> 2011-10-09 16:14:43 UTC ---
> (In reply to comment #5)
>> one has a problem as "tmp" is shared. Thus, one needs to make sure that all
>> inserted temporary variables are thread private (DECL_THREAD_LOCAL_P).
>
> Actually, it probably works as one declares "tmp" as BLOCK in the DO loop,
> which presumably generates a thread-private variable.
Could you supply a complete test case? I'd like to check this out, but#
I don't use OpenMP myself.