This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13201] [gfortran] ICE in trans-types.c
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2004 18:42:24 -0000
- Subject: [Bug fortran/13201] [gfortran] ICE in trans-types.c
- References: <20031126160316.13201.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-05-16 18:42 -------
[tobi@marktplatz tests]$ gfortran pr13201.f90
In file pr13201.f90:2
integer, parameter :: zeros(:) = (/ 0, 0 /)
1
Error: Array 'zeros' at (1) cannot have initializer
[tobi@marktplatz tests]$
The behavior of the longer testcase changed in a similar fashion, it now
generates error messages like the one above. This is with GNU Fortran 95 (GCC
3.5.0 20040515 (experimental))
Could you please close this, if this is invalid code (I believe it is, but I'm
not sure), or change this to rejects-valid if it is indeed valid. Dankeschön.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13201