------- Comment #12 from pault at gcc dot gnu dot org 2007-10-24 10:00 -------
I have prototype fix for this which works OK and does not break anything. It
copies 'p' to a temporary before the FORALL and uses the temporary for the
references. This method will also cure the problem with character substring
dependences but I have not tested it yet.
This fix will not be very efficient in cases where the FORALL only visits a
small subsection of the 'value' variable but I can see no straightforward of
handling the generality of dependences in the 'value' references.
Watch this space - a "one size fits all" patch for the FORALL and assignment
woes is on its way.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2007-10-08 12:15:58 |2007-10-24 10:00:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33686