[all-commits] [llvm/llvm-project] 26ac30: [flang] Accept initialized SAVE local in specifica...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Sep 10 14:13:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 26ac30bcec71ae97ba740fb6cf473eac3ac37887
https://github.com/llvm/llvm-project/commit/26ac30bcec71ae97ba740fb6cf473eac3ac37887
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Evaluate/check-expression.cpp
M flang/test/Semantics/resolve69.f90
M flang/test/Semantics/resolve77.f90
M flang/test/Semantics/spec-expr.f90
Log Message:
-----------
[flang] Accept initialized SAVE local in specification expression (#107656)
Specification expressions may contain references to dummy arguments,
host objects, module variables, and variables in COMMON blocks, since
they will have values on entry to the scope. A local variable with a
initializer and the SAVE attribute (which will always be implied by an
explicit initialization) will also always work, and is accepted by at
least one other compiler, so accept it with a warning.
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