[Bug fortran/69859] ICE on incomplete character declaration statement

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed Feb 17 19:25:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69859

--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
A bit different :


$ cat z7.f90
program p
   type t
      character(2), allocatable :: a(*)
      character(*), allocatable :: b(2)
      character(*), allocatable :: c(*)
   end type
end


$ gfortran-6 z7.f90
#...
Error: Allocatable component of structure at (1) must have a deferred shape
f951: internal compiler error: gfc_is_constant_expr(): Unknown expression type


More information about the Gcc-bugs mailing list