We were treating a SAVE statement without an entity-list as if it applied to all
items in a scoping unit, but it only applies to the allowed ones (8.6.14(1)).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Why not updating semantics::IsSaved to test IsFunctionResult instead like it is doing with IsDummy ?
Lowering relies on IsSaved to indicate whether something is implicitly or explicitly saved, so with this patch it looks like we would still create a global for f2b even if we should not.