public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays
@ 2014-05-08  7:17 juergen.reuter at desy dot de
  2014-05-08  7:49 ` [Bug fortran/61109] [4.10 Regression] ICE " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: juergen.reuter at desy dot de @ 2014-05-08  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61109
           Summary: ICE [4.10 Regression] in fortran/trans-array.c on
                    dimension 0 arrays
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de

Setting a dimension zero array to a constant value triggers an ICE:

Failing code:

module foo
logical, dimension(0) :: is_allowed = .true.
end module foo

triggers

f951: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:5408

f951: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)

It worked for 4.7.1/2/3, 4.8.0/1/2, 4.9.0.

Tested for MAC OS X and Linux x86_64.


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

end of thread, other threads:[~2014-05-09 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08  7:17 [Bug fortran/61109] New: ICE [4.10 Regression] in fortran/trans-array.c on dimension 0 arrays juergen.reuter at desy dot de
2014-05-08  7:49 ` [Bug fortran/61109] [4.10 Regression] ICE " rguenth at gcc dot gnu.org
2014-05-09 13:27 ` dominiq at lps dot ens.fr
2014-05-09 14:06 ` mrs at gcc dot gnu.org
2014-05-09 14:08 ` mrs at gcc dot gnu.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).