This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26891] Automatic conversion for optional parameters of missing dummies
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2006 09:46:08 -0000
- Subject: [Bug fortran/26891] Automatic conversion for optional parameters of missing dummies
- References: <bug-26891-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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