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: unassignedb...@nondot.org
Reporter: chinoune.me...@hotmail.com
CC: david.tr...@arm.com, jper...@nvidia.com,
kirankuma...@gmail.com, llvm-bugs@lists.llvm.org,
sscalp...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs