[Bug fortran/13201] [gfortran] ICE in trans-types.c

tobi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 17 02:35:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list