This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR33317 CSHIFT/EOSHIFT: Rejects optional dummy for DIM=
- From: Tobias Burnus <burnus at net-b dot de>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 24 Nov 2007 00:33:50 +0100
- Subject: Re: [patch, fortran] PR33317 CSHIFT/EOSHIFT: Rejects optional dummy for DIM=
- References: <4746ED37.4030808@verizon.net>
:REVIEWMAIL:
Jerry DeLisle wrote:
> OK for trunk?
OK for the trunk.
Thanks for the patch.
Tobias
> 2007-11-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR fortran/33317
> * trans.h: Modify prototype for gfc_conv_missing_dummy.
> * trans-expr.c (gfc_conv_missing_dummy): Modify to pass an integer
> kind
> parameter in. Set the type of the dummy to the kind given.
> (gfc_conv_function_call): Pass representation.length to
> gfc_conv_missing_dummy.
> * iresolve.c (gfc_resolve_cshift): Determine the correct kind to
> use and
> if appropriate set representation.length to this kind value.
> (gfc_resolve_eoshift): Likewise.
> * check.c (gfc_check_cshift): Enable dim_check to allow DIM as an
> optional argument. (gfc_check_eoshift): Likewise.
> * trans_intrinsic.c (gfc_conv_intrinsic_function_args): Update
> call to
> gfc_conv_missing_dummy.
>