[all-commits] [llvm/llvm-project] 7e013d: [flang] Accept intrinsic functions in DATA stateme...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Sep 13 15:02:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e013d6034bd8e81a6434f515f545b4375078512
https://github.com/llvm/llvm-project/commit/7e013d6034bd8e81a6434f515f545b4375078512
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Semantics/check-data.cpp
M flang/test/Semantics/data05.f90
Log Message:
-----------
[flang] Accept intrinsic functions in DATA statement variables (#66229)
Pure intrinsic functions are acceptable in constant expressions so long
as their arguments are constant expressions. Allow them to appear in
subscripts in DATA statement variables.
Fixes https://github.com/llvm/llvm-project/issues/65046.
More information about the All-commits
mailing list