Skip to content

COMMON blocks repeated with different sizes in generator code #50642

@makortel

Description

@makortel

Spinning off #50620 (comment) into a separate issue

It's SAVEd DATA for a COMMON block, and the dimensions aren't consistent.

COMMON/PYSUBS/MSEL,MSUB(200),KFIN(2,-40:40),CKIN(200)

COMMON/PYSUBS/MSEL,MSELPD,MSUB(500),KFIN(2,-40:40),CKIN(200)

If these are supposed to communicate with each other, then the declarations have to be reconciled. If they aren't intended to be the same common block across shared objects, one set ought to be renamed. As is, Chris is correct that is just going to blow up again, as Fortran77 has no protection against mismatched common blocks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions