Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Volatile coarrays

$
0
0

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

 


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>