Skip to content

[flang] Crash on invalid PARAMETER attribute applied to POINTER #194725

@cenewcombe

Description

@cenewcombe

When compiling the following Fortran code, flang crashes with a CHECK(!IsPointer(symbol)) assertion failure instead of emitting a diagnostic for the invalid combination of POINTER and PARAMETER attributes.

subroutine a7
pointer A
parameter (A=3)
end subroutine

Metadata

Metadata

Assignees

Labels

flangFlang issues not falling into any other category

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions