public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16919] New: ICE with derived type and array constructor
@ 2004-08-08 14:22 pbrook at gcc dot gnu dot org
  2004-08-08 14:22 ` [Bug fortran/16919] " pbrook at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-08-08 14:22 UTC (permalink / raw)
  To: gcc-bugs

Derived type constructors containing array constructors don't work: 
 
program myprog 
  integer i 
  type t 
    integer, dimension(5) :: a 
  end type 
  type (t) :: v 
  v = t((/1, 2, 3, 4, 5/)) 
  v = t((/(i, i=1,5)/)) 
end program 
 
Gives: 
 
trans-expr.c:1365: gfc_conv_array_constructor_expr: Assertion `se->ss != 
((void *)0) && se->ss != gfc_ss_terminator' failed.

-- 
           Summary: ICE with derived type and array constructor
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pbrook at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2004-08-25 17:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-08 14:22 [Bug fortran/16919] New: ICE with derived type and array constructor pbrook at gcc dot gnu dot org
2004-08-08 14:22 ` [Bug fortran/16919] " pbrook at gcc dot gnu dot org
2004-08-08 15:54 ` pbrook at gcc dot gnu dot org
2004-08-09 23:33 ` cvs-commit at gcc dot gnu dot org
2004-08-09 23:33 ` pbrook at gcc dot gnu dot org
2004-08-25 17:03 ` pinskia 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).