This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35203] OPTIONAL, VALUE actual argument cannot be an INTEGER 0
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2008 21:09:39 -0000
- Subject: [Bug fortran/35203] OPTIONAL, VALUE actual argument cannot be an INTEGER 0
- References: <bug-35203-109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from tobi at gcc dot gnu dot org 2008-03-26 21:09 -------
A lovely design by committee feature that is.
An alternative implementation strategy would be to use the same calling
convention as for pass-by-reference arguments and then copy on entry (if
present, and as an optimization, only if it is indeed written to in the
procedure body).
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35203