This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR33297 - add scalar tests for kind and SIZE's dim
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Tobias Burnus" <burnus at net-b dot de>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 12 Sep 2007 10:19:13 +0100
- Subject: Re: [Patch, Fortran] PR33297 - add scalar tests for kind and SIZE's dim
- References: <46DF2450.6020905@net-b.de>
> 2007-09-05 Tobias Burnus <burnus@net-b.de>
>
> PR fortran/33297
> * check.c (scalar_check): Move up in the file.
> (kind_check): Call scalar_check.
> (dim_check): If optional, do not call nonoptional_check; use
> bool for optional.
> (gfc_check_all_any,gfc_check_count,gfc_check_cshift,gfc_check_eoshift,
> gfc_check_lbound,gfc_check_minloc_maxloc,check_reduction,
> gfc_check_spread,gfc_check_ubound): Use true/false instead of 0/1
> for dim_check; honor changed meaning of optional.
> (gfc_check_int): Replace checks by kind_check.
> (gfc_check_size): Replace checks by dim_check.
OK