[flang-commits] [PATCH] D134499: [flang] Preserve component array lower bounds in folding

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu Sep 22 16:02:00 PDT 2022


klausler created this revision.
klausler added a reviewer: clementval.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.

When a component array of a named constant is extracted as
a constant value, ensure that the lower bounds of the array
are properly acquired from the declaration of the component.


https://reviews.llvm.org/D134499

Files:
  flang/include/flang/Evaluate/tools.h
  flang/lib/Evaluate/check-expression.cpp
  flang/lib/Evaluate/fold.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134499.462347.patch
Type: text/x-patch
Size: 3725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220922/a3bc75ed/attachment-0001.bin>


More information about the flang-commits mailing list