[all-commits] [llvm/llvm-project] b99dab: [flang] Exempt construct entities from SAVE check ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Mar 19 12:01:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b99dab25879449cb89c1ebd7b4088163543918e3
https://github.com/llvm/llvm-project/commit/b99dab25879449cb89c1ebd7b4088163543918e3
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-03-19 (Wed, 19 Mar 2025)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/call10.f90
Log Message:
-----------
[flang] Exempt construct entities from SAVE check for PURE (#131383)
A PURE subprogram can't have a local variable with the SAVE attribute.
An ASSOCIATE or SELECT TYPE construct entity whose selector is a
variable will return true from IsSave(); exclude them from the local
variable check.
Fixes https://github.com/llvm/llvm-project/issues/131356.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list