This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR33574 - ICE with ANINT (with KIND and an array)
- From: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, "gcc-patches List" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 Sep 2007 20:45:19 +0200
- Subject: [Patch, fortran] PR33574 - ICE with ANINT (with KIND and an array)
- 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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=BpDJ17972KhHq32sIfByXejfX6HR5K/DHkWvqKnWmus=; b=e0OUV86iNtuZ762hUC4yevKCGchmAx83ije94ZXj+cj+qEQwYthob13nhyF617tMc9COQlYqcvrtsiPAtW3R7aZCCBPIDgFkMG2bgaBbgVTTG8GABYl1nWfeVWEmCr9gKgwvQ6QpwpYNVHTdi6/leoS3asIB3ysUgsuJpMf8JNs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dnFkpOnIiGDuB5SdEZBHsZ/dwHMh91JS/cgRAQEme/eGxycuJHUCdt20V3b0BGGOam3GnhUxW99Xta1e2PP2FptF/9Y+MtSyFR0fIk33fA3Jk007FbCOUYK2iP/7pghQeWZF6p+6tiUA6q0/qgZN/JLxghrnmDQcQEVBrq3AW6Y=
The early version of the patch had not been regtested, so thanks
Dominique for alerting me to the problem. I would have found it but
you saved me a regtest.
Tobi Schlueter pointed out the wrinkle in his earlier posting to the
list. I should have used gfc_intrinsic_argument_list_length to count
the arguments; this deals with missing optional arguments. However,
the basic patch was correct and is indeed "obvious".
The patch regtests fine on x86_ia64/FC5 and was committed a few minutes ago.
Cheers
Paul