Unverified Commit 6d4c8878 authored by Peter Klausler's avatar Peter Klausler Committed by GitHub
Browse files

[flang] Allow use of COMMON in PURE (#76741)

Although COMMON variables implicitly have the SAVE attribute, and
variables with the SAVE attribute are generally disallowed in PURE
subprograms, we must allow the use of COMMON in PURE as an exception.
F'2023 constraint C1598 applies only to local variables.
parent 01dbc5da
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment