https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83192
Bug ID: 83192
Summary: ICE for printing derived type
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: vivekrao4 at yahoo dot com
Target Milestone: ---
For GNU Fortran (GCC) 8.0.0 20170430 (experimental) on Windows 10, compiling
the code
module xyz_mod
implicit none
type, public :: bar
integer :: i
end type bar
contains
!
subroutine efg()
character (len=100) :: fmt_
type(bar) :: foo
foo = bar(1)
fmt_ = "(i0)"
write (*,fmt_) foo
end subroutine efg
end module xyz_mod
gives output
c:\fortran\2015>gfortran -c date_series_stats_bug.f90
f951.exe: internal compiler error: Segmentation fault
libbacktrace could not find executable to open