This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR26891 - Automatic conversion for optional parameters of missing dummies


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]