Volatile coarrays

Volatile coarrays

The compiler does not seem to be honouring C560 "The VOLATILE attribute shall not be specified for a coarray that is accessed by use (11.2.2) or host (16.5.1.4) association."  This is the clearest example, but I can't get a message no matter what I do.

MODULE Wombat
    INTEGER :: x[*]
END MODULE Wombat

PROGRAM Main
    Use Wombat
    VOLATILE :: x
    x = 0
END PROGRAM Main

 

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks, Nick. I have escalated this as issue DPD200359784.

Retired 12/31/2016

Fixed for version 16 (not in the current beta)

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today