Skip to content

[flang] Fortran pointer shall not be allowed as a memeber of a BIND(C) common block #148922

@DanielCChen

Description

@DanielCChen

Consider the following code:

module mod
implicit none
bind(c) ::  /blk/
common /blk/ x
integer, pointer :: x
end module

x should not be allowed as the member of bind(c) common block blk as x that has the POINTER attribute is not C-interoparable.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions