[flang-commits] [PATCH] D93321: [flang] Fix crash in folding (#48437)

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Dec 15 11:01:42 PST 2020


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Elemental intrinsic function folding was not taking the lower
bounds of constant array arguments into account; these lower bounds
can be distinct from 1 when named constants appear as arguments.

LLVM bugzilla #48437.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93321

Files:
  flang/include/flang/Evaluate/constant.h
  flang/lib/Evaluate/fold-implementation.h
  flang/test/Evaluate/folding16.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93321.311966.patch
Type: text/x-patch
Size: 4172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20201215/15bb7f85/attachment.bin>


More information about the flang-commits mailing list