http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46152
Summary: ALLOCATE with type-spec fails for intrinsic types
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Compiling the following program:
implicit none ! << crucial
integer, allocatable :: a
allocate (integer :: a)
end
Fails with:
allocate (integer :: a)
1
Error: Symbol 'integer' at (1) has no IMPLICIT type