[Bug fortran/35203] OPTIONAL, VALUE actual argument cannot be an INTEGER 0
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 15 00:03:00 GMT 2008
------- Comment #2 from burnus at gcc dot gnu dot org 2008-02-15 00:03 -------
I now checked the F2003 standard + the two corrigenda and it misses this
clause. For TYPE such clauses were added in a corrigendum.
As you are a J3 member, can you create an interpretation request?
By the way, the right place for this edit would be the following:
C527 (R501) If the VALUE attribute is specified, the PARAMETER, EXTERNAL,
POINTER, ALLOCATABLE, DIMENSION, VOLATILE, INTENT(INOUT), or
INTENT(OUT) attribute shall not be specified.
One only needs to insert a "OPTIONAL, ". I think it is obvious why it should be
invalid, isn't it?
For gfortran I would recommend:
Index: symbol.c
===================================================================
--- symbol.c (revision 132324)
+++ symbol.c (working copy)
@@ -519,6 +519,7 @@
conf (value, pointer)
conf (value, allocatable)
+ conf (value, optional)
conf (value, subroutine)
conf (value, function)
conf (value, volatile_)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35203
More information about the Gcc-bugs
mailing list