[Bug fortran/83762] New: ICE on variable declaration with undefined PDT parameter
berke.durak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 10 06:21:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83762
Bug ID: 83762
Summary: ICE on variable declaration with undefined PDT
parameter
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: berke.durak at gmail dot com
Target Milestone: ---
% cat test_case2.f90
module bar
implicit none
type :: foo(n)
integer, len :: n=10
end type foo
contains
subroutine main
type(foo(undefined)) :: x
end subroutine main
end module bar
% /usr/local/gfortran-bin/bin/gfortran test_case2.f90 -o tc -Wall -Wextra
test_case2.f90:11:0:
end module bar
internal compiler error: in gfc_typenode_for_spec, at
fortran/trans-types.c:1116
0x6a0840 ???
../sysdeps/x86_64/elf/start.S:113
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
% /usr/local/gfortran-bin/bin/gfortran --version
GNU Fortran (GCC) 8.0.0 20180109 (experimental) [trunk revision 256361]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
More information about the Gcc-bugs
mailing list