This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ICE with ANINT (with KIND and an array)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]