Skip to content

VariableAccessInfo can have kind parameters as READ instead of TYPE_INFO #3060

@LonelyCat124

Description

@LonelyCat124

In code like


a = REAL(b / c , wp)
c = 1.0_wp

the wp in the REAL intrinsic shows up as a READ, wheras it should be a TYPE_INFO. From a conceptual perspective, the kind parameter passed to these intrinsics has to be a constant, so is known at compile time and thus not an actual READ at runtime.

Not sure how easy this is to fix, so #2967 will have to workaround this problem for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedAn issue/PR that is blocked by one or more issues/PRs.bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions