(j3.2006) Storage sequence and alignment

Rasmussen, Craig E rasmussn
Wed Sep 28 15:39:27 EDT 2011

The MPI Forum is attempting to get the notion of storage sequence correct.  In particular we are trying to divine what the standard says as to storage sequence and alignment.

In particular, in

a nonpointer scalar object of sequence type with no type parameters occupies a sequence of storage sequences corresponding to the sequence of its ultimate components,

It seems to me that you can build a legal Fortran program that is guaranteed to crash on some architectures when using a sequence type and an assortment of single and double precision components in a random order.

Someone please tell me I'm wrong and that all legal Fortran programs are good programs.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://j3-fortran.org/pipermail/j3/attachments/20110928/3126b1ab/attachment.html>

More information about the J3 mailing list