(j3.2006) Are there 2008/2015 equivalents of 2003 C.9.6?
Malcolm Cohen
malcolm
Sat Jul 8 14:31:18 EDT 2017
(1) ?Fortran 2003 constraint C.9.6?, is a little confused. C.9.6 is informative i.e. it is not normative. It is not a ?constraint?, it is a subclause.
(2) There is not similar language in F2008 for very good reason ? we added a new feature, viz (from the Introduction):
An actual argument with the TARGET attribute can correspond to a dummy pointer.
I hope that answers your question as to why the explanatory text at the back of the standard is different.
However I?m not going to go trawling a newsgroup thread looking for a coding question to answer... (feel free to post further questions, and I will answer if I?m around, but I?ve actually just gone on a short holiday and will be out of email contact quite a lot of the time).
Cheers,
From: Damian Rouson
Sent: Sunday, July 9, 2017 1:12 AM
To: fortran standards email list for J3
Cc: Thomas Koenig ; Paul Richard Thomas
Subject: (j3.2006) Are there 2008/2015 equivalents of 2003 C.9.6?
All,
Fortran 2003 constraint C.9.6 includes the following text:
"If a dummy argument is declared to be a pointer, it may be matched only by an actual argument that also is a pointer, and the characteristics of both arguments shall agree. A model for such an association is that descriptor values of the actual pointer are copied to the dummy pointer?"
I haven't found similar language in Fortran 2008 or in the Fortran 2015 February draft (17-007r1). I assume that constraint C.10.4 in 2008 and 2015 are the descendants of 2003 C.9.6 -- at least the titles match -- but in 2008/2015, C.10.4 is written very differently from 2003 C.9.6 and I can't discern any vestiges of the above quoted language. Does similar language appear somewhere else or was it dropped from the standard? A related coding question appears at the beginning of the comp.lang.fortran thread:
https://groups.google.com/forum/#!topic/comp.lang.fortran/QbMFCNP_DuY
Damian
Disclaimer
The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.
--------------------------------------------------------------------------------
_______________________________________________
J3 mailing list
J3 at mailman.j3-fortran.org
http://mailman.j3-fortran.org/mailman/listinfo/j3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20170709/cc03f465/attachment.html
More information about the J3
mailing list