[Bug fortran/50564] [4.7 Regression] Front-end optimization - ICE with FORALL

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 9 16:15:00 GMT 2011


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.



More information about the Gcc-bugs mailing list