public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45081]  New: ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208
@ 2010-07-26 15:13 ohl at physik dot uni-wuerzburg dot de
  2010-07-26 15:22 ` [Bug fortran/45081] " dominiq at lps dot ens dot fr
                   ` (13 more replies)
  0 siblings, 14 replies; 17+ messages in thread
From: ohl at physik dot uni-wuerzburg dot de @ 2010-07-26 15:13 UTC (permalink / raw)
  To: gcc-bugs

The following code, with default options,

  module m
    implicit none
    type t
      integer :: i
    end type t
    type(t), dimension(1), parameter :: a1  = (/ t(1) /)
    type(t), dimension(1), parameter :: a = reshape ( (/ a1 /), (/ 1 /) )
  end module m

triggers:

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

in

  GNU Fortran (GCC) 4.6.0 20100726 (experimental)

The code compiles with the NAG compiler, as it should.  gfortran also compiles
the equivalent code for INTEGERS instead of the derived type.

Maybe there is a relation to bug #44742.


-- 
           Summary: ICE in gfc_conv_array_initializer, at fortran/trans-
                    array.c:4208
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ohl at physik dot uni-wuerzburg dot de
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2010-12-09 13:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 15:13 [Bug fortran/45081] New: ICE in gfc_conv_array_initializer, at fortran/trans-array.c:4208 ohl at physik dot uni-wuerzburg dot de
2010-07-26 15:22 ` [Bug fortran/45081] " dominiq at lps dot ens dot fr
2010-07-26 17:31 ` [Bug fortran/45081] [4.3/4.4/4.5/4.6 Regression] " burnus at gcc dot gnu dot org
2010-07-26 20:20 ` burnus at gcc dot gnu dot org
2010-07-27  6:04 ` burnus at gcc dot gnu dot org
2010-07-27  6:56 ` dominiq at lps dot ens dot fr
2010-07-31  9:35 ` rguenth at gcc dot gnu dot org
2010-08-17 12:07 ` pault at gcc dot gnu dot org
2010-08-30 15:52 ` rguenth at gcc dot gnu dot org
2010-09-16  5:12 ` pault at gcc dot gnu dot org
2010-09-16  7:07 ` dominiq at lps dot ens dot fr
2010-09-16  9:43 ` paul dot richard dot thomas at gmail dot com
2010-09-16 13:14 ` dominiq at lps dot ens dot fr
2010-09-20 18:55 ` pault at gcc dot gnu dot org
2010-09-20 21:24 ` pault at gcc dot gnu dot org
     [not found] <bug-45081-4@http.gcc.gnu.org/bugzilla/>
2010-09-26 14:11 ` pault at gcc dot gnu.org
2010-12-09 13:31 ` burnus 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).