[flang-commits] [flang] [flang] Produce warning instead of error when bound checking arrays (PR #83011)
Jeff Hammond via flang-commits
flang-commits at lists.llvm.org
Tue Jun 11 00:51:42 PDT 2024
jeffhammond wrote:
Violating obvious restrictions of the standard is not the same thing as allowing language extensions. Integer division by zero is always wrong, while allowing integer addition to wraparound for finite-width types is a language extension. There is no way to describe out-of-bounds array indexing as a language extension. The Slack discussion is about allowing something that no one has been able to demonstrate is actually bad.
https://github.com/llvm/llvm-project/pull/83011
More information about the flang-commits
mailing list