https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78682

Damian Rouson <damian at sourceryinstitute dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damian at sourceryinstitute 
dot or
                   |                            |g

--- Comment #5 from Damian Rouson <damian at sourceryinstitute dot org> ---
In the August 31 draft of the Fortran 2015 standard, section 11.6.2, paragraph
3, the first bullet states, "if a variable is defined on an image in a segment,
it shall not be referenced, defined, or become undefined in a segment on
another image unless the segments are ordered".  In Stefano's example, the 
line 

    core_caf%core_value = 1

defines a value on on image 1 that is later referenced on image 2 via

   if (this_image()==2) call core_caf[1]%core_value_print

but there is no image control statement between the definition and the
reference.  That makes the code non-conforming.

Reply via email to