[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 7 14:48:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #2 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Trying to compile the example produces
❯ gfortran -c pr83725.f90
pr83725.f90:29:21:
integer :: ln, sz
1
Error: Unexpected data declaration statement at (1)
pr83725.f90:30:43:
character(:), allocatable :: strings(:)
1
Error: Unexpected data declaration statement at (1)
pr83725.f90:33:24:
allocate (character(ln) :: strings(sz))
1
Error: Scalar INTEGER expression expected at (1)
pr83725.f90:34:4:
strings(:) = fixedStringTable(this)
1
Error: Unclassifiable statement at (1)
pr83725.f90:35:10:
joined=''
1
Error: Symbol ‘joined’ at (1) has no IMPLICIT type; did you mean ‘fixed’?
pr83725.f90:31:6:
ln = LEN_MAX(this)
1
Error: Symbol ‘ln’ at (1) has no IMPLICIT type
pr83725.f90:32:6:
sz = getTableSize(this)
1
Error: Symbol ‘sz’ at (1) has no IMPLICIT type
More information about the Gcc-bugs
mailing list