This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

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


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


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