This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR26891 - Automatic conversion for optional parameters of missing dummies
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: patch <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Sat, 1 Apr 2006 12:35:35 -0800
- Subject: Re: [Patch, fortran] PR26891 - Automatic conversion for optional parameters of missing dummies
- References: <442D7FDC.7060509@wanadoo.fr>
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