public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34305]  New: ICE with array(real) declaration
@ 2007-11-30 22:52 tkoenig at gcc dot gnu dot org
  2007-12-12 21:09 ` [Bug fortran/34305] " tkoenig at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-11-30 22:52 UTC (permalink / raw)
  To: gcc-bugs

$ cat foo.f
      program test
      parameter (datasize = 1000)
      dimension idata(datasize)
      idata(1)   =  -1
      end

$ gfortran foo.f
foo.f:3.22:

      dimension idata(datasize)                                         
                     1
Error: Expression at (1) must be of INTEGER type
foo.f:3.21:

      dimension idata(datasize)                                         
                    1
Error: The module or main program array 'idata' at (1) must have constant shape
foo.f:5.72:

      end                                                               
                                                                       1
Internal Error at (1):
compare_bound(): Bad expression


-- 
           Summary: ICE with array(real) declaration
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34305


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-16 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-30 22:52 [Bug fortran/34305] New: ICE with array(real) declaration tkoenig at gcc dot gnu dot org
2007-12-12 21:09 ` [Bug fortran/34305] " tkoenig at gcc dot gnu dot org
2007-12-16 21:10 ` tkoenig at gcc dot gnu dot org
2007-12-16 21:55 ` tkoenig at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).