public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67542] New: ICE on initializing type variable with a longer array
@ 2015-09-10 16:41 gerhard.steinmetz.fortran@t-online.de
  2015-09-10 16:41 ` [Bug fortran/67542] " gerhard.steinmetz.fortran@t-online.de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-09-10 16:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542

            Bug ID: 67542
           Summary: ICE on initializing type variable with a longer array
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

This test case with a longer array in initializer of y :

$ cat z1.f90
program p
   type t
      integer :: n
      character(8) :: c(1)
   end type
   type(t) :: x = t(1, ['a'])
   type(t) :: y = t(1, ['a', 'b'])
end


Yields with gfortran 5.2.1 and 4.9.0 :
internal compiler error: in native_encode_initializer, at dwarf2out.c:16210


Compiles with no error using gfortran 4.8.3


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

end of thread, other threads:[~2021-10-24 19:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10 16:41 [Bug fortran/67542] New: ICE on initializing type variable with a longer array gerhard.steinmetz.fortran@t-online.de
2015-09-10 16:41 ` [Bug fortran/67542] " gerhard.steinmetz.fortran@t-online.de
2015-09-13 15:01 ` dominiq at lps dot ens.fr
2021-10-24  8:35 ` [Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945 dominiq at lps dot ens.fr
2021-10-24 14:45 ` dominiq at lps dot ens.fr
2021-10-24 19:09 ` anlauf 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).