This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: ICE with ANINT (with KIND and an array)
- From: Thomas Koenig <tkoenig at alice-dsl dot net>
- To: Ignacio Fernández Galván <jellby at yahoo dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Wed, 26 Sep 2007 23:17:56 +0200
- Subject: Re: ICE with ANINT (with KIND and an array)
- References: <54504.57090.qm@web33008.mail.mud.yahoo.com>
On Wed, 2007-09-26 at 21:18 +0100, Ignacio Fernández Galván wrote:
> Hi all,
>
> The following test fails:
>
> $ cat test.f90
> PROGRAM Test
> IMPLICIT NONE
> INTEGER, PARAMETER :: DP=8
> REAL(KIND=DP), DIMENSION(1:3) :: A
> A = ANINT ( A , DP )
> END PROGRAM Test
> I will file a bug report, unless someone does it first or I'm told
> otherwise.
This is a 4.3 regression. The test case compiles fine
with gfortran 4.2.1:
$ /usr/bin/gfortran test.f90
$ /usr/bin/gfortran --version
GNU Fortran (GCC) 4.2.1 (Debian 4.2.1-3)
Copyright (C) 2007 Free Software Foundation, Inc.
Thomas