*ping* [Patch, Fortran] PR35203 - Fix VALUE + OPTIONAL handling for pass-by-value arguments

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Mar 29 20:38:00 GMT 2013


On Fri, Mar 29, 2013 at 09:17:33PM +0100, Thomas Koenig wrote:
> Hi Tobias,
> 
> > The current implementation is slightly different: present and
> > string-lengths are in one group, ordered by their appearance. While IBM
> > puts them into different groups and puts first all optionals and then
> > all string lengths.
> >
> > It probably makes sense to change this to match IBM's implementation.
> 
> This would be an ABI change for code which had both optional value
> and string lengths.  It would be less dramatic if we did it the
> other way around (first the string lengths, then the optional flags).
> 
> OK, for 4.9, we want array descriptor reform including an ABI
> change anyway, don't we? :-)
> 

Yes, I think the array descriptor should occur in 4.9.  There
is also a PR for ABI changes to libgfortran.  Those changes
should probably also go into 4.9.  And, since we'll be breaking
the array descriptors and the library, rewriting the module
file format should probably also occur for 4.9.

Of course, finding time to hack on gfortran may be challenge. ;(

-- 
Steve



More information about the Fortran mailing list