This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran 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
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Rp86C4xPX4CcA7US/AOtP/9qHlfGux3WSKgYnJE6ntU=; b=aPFY0Bu3g6OeDhmPfyNP998ek0uj0dbb80P5RYInrjrEH1vkqvWSWiG9JziS1dKzngjgR2/o2r5dQlX9LpHajJQ37LoWr3wslptZh9anH4i6ntS7yO2UC/VqeojAQz+ZdodFEqmZ0GwBVDwjvADvNIdKbpu/McerpqykGIZOo64=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G6yC1oXdPcXmuxbuulZ1ip5d+hyVtkO/Nubcfmo6rinF8SP7X053mkz3Cwyc8wmBGdRNCjWlc0fWtf7xHzI2OUWsFz8tMSiktpeRS1pX8lOXn9+w7+r+yikA3496XHushsIYHEImB6mrLx4NLnfU0BRF8WO2sAPycDkX+/jiwYs=
- 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