public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/18769] New: gfortran: ICE in gfc_conv_array_initializer with array initialization
@ 2004-12-01 22:27 anlauf at hep dot tu-darmstadt dot de
  2004-12-01 23:24 ` [Bug fortran/18769] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: anlauf at hep dot tu-darmstadt dot de @ 2004-12-01 22:27 UTC (permalink / raw)
  To: gcc-bugs

Hi,

the following code crashes gfortran:

program gfcbug21
  implicit none
  type t
     integer :: i
  end type t
  type (t), parameter :: u = t (1)
  integer,  parameter :: idx_list(1) = (/ 1 /)
  ! gfortran dies here:
  integer             :: j(1) = transfer (u,  idx_list)
  print *, j
end program gfcbug21

I get:

gfcbug21.f90: In function 'MAIN__':
gfcbug21.f90:10: internal compiler error: in gfc_conv_array_initializer, at 
fortran/trans-array.c:2946

(For the record: this works with Intel's ifc 7.1 but crashes ifort 8.1)

Cheers,
-ha

-- 
           Summary: gfortran: ICE in gfc_conv_array_initializer with array
                    initialization
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at hep dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-18769-6318@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-01-02  3:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-01 22:27 [Bug fortran/18769] New: gfortran: ICE in gfc_conv_array_initializer with array initialization anlauf at hep dot tu-darmstadt dot de
2004-12-01 23:24 ` [Bug fortran/18769] " pinskia at gcc dot gnu dot org
2005-05-01 14:17 ` pinskia at gcc dot gnu dot org
2005-05-01 15:18 ` pinskia at gcc dot gnu dot org
2005-05-01 15:18 ` pinskia at gcc dot gnu dot org
     [not found] <bug-18769-6318@http.gcc.gnu.org/bugzilla/>
2006-01-02  3:50 ` 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).