[Bug fortran/96013] ICE in write_symbol, at fortran/module.c:5747
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Jun 30 20:12:46 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96013
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
This variant (also legal) compiles :
$ cat zz3.f90
module m
type t
character, allocatable :: a
end type
contains
function f() result(t)
character(3) :: c
c = 'abc'
t = 1.0
end
end
$ gfortran-11-20200628 -c zz3.f90
$
More information about the Gcc-bugs
mailing list