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

--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@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

Reply via email to