https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82168
--- Comment #3 from physiker at toast2 dot net --- I appologize if this is a bogus bug report. ifort version 17 accepts the code, bug2.f90, though. $ ifort -v ifort version 17.0.0 $ ifort -o bug2 bug2.f90 -warn all bug2.f90(18): remark #7712: This variable has not been used. [A] type (v(2)) :: a ---------------^ bug2.f90(19): remark #7712: This variable has not been used. [B] type (v(z=:, k=dp)), allocatable :: b ------------------------------------^ peschmid@lxbk0200:~$ echo $? 0