[Patch, fortran] PR26891 - Automatic conversion for optional parameters of missing dummies
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Apr 1 20:35:00 GMT 2006
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 ==
--
Steve
More information about the Gcc-patches
mailing list