This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30865] optional argument passed on to size(...,dim=)



------- Comment #3 from burnus at gcc dot gnu dot org  2007-02-20 13:16 -------
(In reply to comment #2)
> For those who wonder (as I did) why using an optional argument is legal:
> It is only used as actual argument corresponding to an optional dummy 
> argument. (cf. 12.4.1.6 in the Fortran 2003 standard).

And on the fact that the optional argument does not change the rank.

This PR is seemingly based on the following c.l.fortran thread:
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/1e7a4db9d998955a


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30865


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]