When variable with the SAVE attribute appears in a pure subprogram,
emit a more specialized error message if the SAVE attribute was acquired
from static initialization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D117699
[flang] Improve error message (initialized variable in pure subprogram) ClosedPublic Authored by klausler on Jan 19 2022, 10:14 AM.
Details Summary When variable with the SAVE attribute appears in a pure subprogram,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 19 2022, 10:25 AM Closed by commit rG2985d5623c88: [flang] Improve error message (initialized variable in pure subprogram) (authored by klausler). · Explain WhyJan 19 2022, 5:27 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 401455 flang/lib/Semantics/check-declarations.cpp
flang/test/Semantics/call10.f90
|