[Patch, fortran] PR26891 - Automatic conversion for optional parameters of missing dummies
Paul Thomas
paulthomas2@wanadoo.fr
Sun Apr 2 05:13:00 GMT 2006
Steve Kargl wrote:
>On Fri, Mar 31, 2006 at 09:15:40PM +0200, Paul Thomas wrote:
>
>
>>2005-03-31 Paul Thomas <pault@gcc.gnu.org>
>>
>> PR fortran/26981
>> * trans.h : Prototype for gfc_conv_missing_dummy.
>> * trans-expr (gfc_conv_missing_dummy): New function
>> (gfc_conv_function_call): Call it and tidy up some of the code.
>> * trans-intrinsic (gfc_conv_intrinsic_function_args): The same.
>>
>>2005-03-31 Paul Thomas <pault@gcc.gnu.org>
>>
>> PR fortran/26981
>> * gfortran.dg/missing_optional_dummy_1.f90: New test.
>>
>>
>>
>
>OK with one comment below.
>
>
>
>>
>>+ /* If an optional argument is itself an optional dummy argument,
>>+ check its presence and substitute a null if absent. */
>>+ if (e->expr_type ==EXPR_VARIABLE
>>
>>
>
>Missing space after ==
>
>
>
Ooops! Thanks.
Paul
More information about the Fortran
mailing list