[Bug fortran/70931] ICE with -g in native_encode_initializer, bei dwarf2out.c:17768
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue May 3 19:33:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70931
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Whereas, these variants compile without problems :
$ cat z2.f90
program p
type t
integer :: b(0)
end type
type(t), parameter :: z = t([2])
print *, z
end
$ cat z3.f90
program p
type t
integer :: a
integer :: b(0)
end type
type(t), parameter :: z = t(1, 2)
print *, z
end
More information about the Gcc-bugs
mailing list