[Bug fortran/26891] Automatic conversion for optional parameters of missing dummies
paulthomas2 at wanadoo dot fr
gcc-bugzilla@gcc.gnu.org
Tue Mar 28 09:46:00 GMT 2006
------- Comment #2 from paulthomas2 at wanadoo dot fr 2006-03-28 09:46 -------
Subject: Re: Automatic conversion for optional parameters
of missing dummies
toon at moene dot indiv dot nluug dot nl wrote:
>------- Comment #1 from toon at moene dot indiv dot nluug dot nl 2006-03-28 08:15 -------
>
>
>> logical, optional, intent(in) :: back
>> myscan = scan (str, substr, back)
>>
>>
>
>I thought passing non-present optional arguments down to routines as an
>optional argument is within the confines of the Standard.
>
>If in doubt, consult comp.lang.fortran ...
>
>
I would rather curl up in front of the fire with the standard -
comp.lang.fortran comes with a population that seems excessively "up
yours" on such matters. I cannot be bothered with the aggression.
However, if you are right, that's great; I will spread the solution to
all procedure calls. Right now, I need to get out of this TRANSFER mess!
Best regards
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26891
More information about the Gcc-bugs
mailing list