https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71880
--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> --- Additional data points: - The ICE in comment #4 can be reproduced with character(:), dimension(:), pointer :: p => NULL() write(*,*) size(p) ! ICE write(*,*) len(p) ! ICE end - The bug in the other comments also shows up when one replaces character(:), dimension(:), allocatable, target :: c by character(1), dimension(:), allocatable, target :: c