Skip to content

[flang] Missing diagnostic on deferred length parameter being used in type-spec of an ALLOCATE statement #138979

@DanielCChen

Description

@DanielCChen

Consider the following code:

implicit none
character(:), allocatable  :: char
allocate (character(:)::char)
end

Flang doesn't diagnose the incorrect usage of the type-spec that has deferred length parameters.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions