This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: *ping* [Patch, Fortran] PR35203 - Fix VALUE + OPTIONAL handling for pass-by-value arguments
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: fortran at gcc dot gnu dot org
- Date: Fri, 29 Mar 2013 21:17:33 +0100
- Subject: Re: *ping* [Patch, Fortran] PR35203 - Fix VALUE + OPTIONAL handling for pass-by-value arguments
- References: <5155BB5C dot 6050308 at earthlink dot net> <5155CDC3 dot 406 at net-b dot de>
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? :-)
Thomas