[llvm-bugs] [Bug 48437] New: [flang] Flang can't evaluate constant arrays with lower bounds <= 0
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 7 23:51:16 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48437
Bug ID: 48437
Summary: [flang] Flang can't evaluate constant arrays with
lower bounds <= 0
Product: flang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: release blocker
Priority: P
Component: Frontend
Assignee: unassignedbugs at nondot.org
Reporter: chinoune.mehdi at hotmail.com
CC: David.Truby at arm.com, jperier at nvidia.com,
kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
sscalpone at nvidia.com
Reproducer:
module m
implicit none
real, parameter :: a(-1:-1) = [ 1. ], b(-1:-1) = log(a)
end module m
$ f18 -c bug.f90
fatal internal error: CHECK(j >= lb && j < lb + extent) failed at
***/llvm-project/flang/lib/Evaluate/constant.cpp(51)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201208/b8940cde/attachment.html>
More information about the llvm-bugs
mailing list