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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to