[Bug fortran/82589] ICE in gfc_get_pdt_instance, at fortran/decl.c:3278
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Oct 17 17:56:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82589
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
These variants are processed without any complaints :
$ cat z2.f90
module m
type t(a)
integer, len, private :: a
end type
end
program p
use m
type(t(:)), allocatable :: x
print *, x
end
$ cat z3.f90
module m
type t(a)
integer, len, private :: a
end type
end
program p
use m
type(t(2)) :: x
print *, x
end
$ gfortran-8-20171015 -g -O0 -Wall -Wextra -c z2.f90
$ gfortran-8-20171015 -g -O0 -Wall -Wextra -c z3.f90
$
More information about the Gcc-bugs
mailing list