[all-commits] [llvm/llvm-project] 524201: [flang] Catch attempts to subscribe empty arrays (...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Sep 12 09:12:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 524201881562d696841561e44f0a70a7cc7dc18d
https://github.com/llvm/llvm-project/commit/524201881562d696841561e44f0a70a7cc7dc18d
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
M flang/include/flang/Semantics/expression.h
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/expr-errors06.f90
Log Message:
-----------
[flang] Catch attempts to subscribe empty arrays (#108246)
An array that has one or more empty dimensions cannot have subscripts
unless there's a possibility that they constitute an empty array
section.
We previously only checked that constant subscripts are in bounds.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list