[J3] Vector subscripts and INTENT(INOUT)

Malcolm Cohen malcolm at nag-j.co.jp
Tue May 15 01:03:12 EDT 2018


IMO the suggested incompatible change to require INTENT(IN) or VALUE for passing vector-subscripted array sections is completely and utterly unacceptable.  I speak as a user.  Even if we made such a change, it is highly likely that users will demand compilation of their previously-conforming code.

 

> none of the 4 compilers I tried on this code issued any message

 

The NAG compiler can detect violation of this requirement at runtime (and has had that capability for a long time).  It’s not something that can in general be detected at compile time (though of course some simple cases could be).

 

Cheers,

-- 

..............Malcolm Cohen, NAG Oxford/Tokyo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20180515/8e038b7f/attachment.html>


More information about the J3 mailing list