public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/67804] New: ICE on data initialization of type(character) with wrong data
@ 2015-10-01 17:50 gerhard.steinmetz.fortran@t-online.de
  2015-10-01 17:50 ` [Bug fortran/67804] " gerhard.steinmetz.fortran@t-online.de
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-10-01 17:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67804
           Summary: ICE on data initialization of type(character) with
                    wrong data
           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: ---

With wrong type of data in initializer t() :


$ cat z1.f90
program p
   type t
      character :: c
   end type
   type(t) :: x1, x2, x3, x4, x5, x6, x7, x8
   data x1 /t(1)/
   data x2 /t(1.)/
   data x3 /t(1d1)/
   data x4 /t((0.,1.))/
   data x5 /t(.true.)/
   data x6 /t(null())/
   data x7 /t(['1'])/
   data x8 /t([1])/
   !...
end


$ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z1.f90
internal compiler error: in gfc_conv_string_init, at fortran/trans-const.c:161


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

end of thread, other threads:[~2022-03-18 19:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-01 17:50 [Bug fortran/67804] New: ICE on data initialization of type(character) with wrong data gerhard.steinmetz.fortran@t-online.de
2015-10-01 17:50 ` [Bug fortran/67804] " gerhard.steinmetz.fortran@t-online.de
2015-10-01 19:00 ` kargl at gcc dot gnu.org
2022-01-12 19:46 ` anlauf at gcc dot gnu.org
2022-01-12 20:30 ` anlauf at gcc dot gnu.org
2022-01-13 18:24 ` cvs-commit at gcc dot gnu.org
2022-01-16 20:40 ` cvs-commit at gcc dot gnu.org
2022-01-16 20:48 ` anlauf at gcc dot gnu.org
2022-01-25 18:25 ` anlauf at gcc dot gnu.org
2022-01-25 19:37 ` cvs-commit at gcc dot gnu.org
2022-01-25 20:01 ` anlauf at gcc dot gnu.org
2022-03-18 19:54 ` 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).