pgfortran rejects scalars in an ALLOCATABLE statement

pgfortran 17.10 incorrectly rejects the following program.

allocatable i
end



PGF90-S-0084-Illegal use of symbol i - must be a deferred shape array

Yes, that looks like a bug. Logged now as TPR 24928.

Workaround is

integer,allocatable :: i
end


dave