[Bug fortran/34002] ICE with constant intrinsic array specs
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 6 14:13:00 GMT 2007
------- Comment #2 from pault at gcc dot gnu dot org 2007-11-06 14:13 -------
GNU Fortran (GCC) 4.3.0 20070912 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
$ cat pr34002.f90
program fred
implicit none
integer,dimension(3),parameter::MaxJ=2
integer,dimension(maxval(MaxJ))::N
integer::J
N=9
do J=1,maxval(MaxJ)
write(*,*)N(J)
enddo
end
$ /irun/bin/gfortran pr34002.f90
$ ./a
9
9
I'm closing this as fixed for 4.3.0.
Please try to upgrade to the latest version, which is available from the
gfortran wiki - http://gcc.gnu.org/wiki/GFortran , together with copies of all
the fortran standards.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34002
More information about the Gcc-bugs
mailing list