The predicate IsPureProcedure() crashes with infinite
recursion when presented with mutually recursive statement
functions -- an error case that should be recoverable.
Fix by adding a visited set.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D153569
[flang] Avoid crash in statement function error case ClosedPublic Authored by klausler on Jun 22 2023, 9:27 AM.
Details Summary The predicate IsPureProcedure() crashes with infinite
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 22 2023, 1:24 PM Closed by commit rG77a57f6b250f: [flang] Avoid crash in statement function error case (authored by klausler). · Explain WhyJun 22 2023, 1:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 533652 flang/lib/Evaluate/tools.cpp
flang/test/Semantics/stmt-func01.f90
|