https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278320
--- Comment #5 from commit-h...@freebsd.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5b763c0e1f30583f8447a0818e2a72498d2e2bc3 commit 5b763c0e1f30583f8447a0818e2a72498d2e2bc3 Author: Dimitry Andric <d...@freebsd.org> AuthorDate: 2024-04-15 16:24:39 +0000 Commit: Dimitry Andric <d...@freebsd.org> CommitDate: 2024-04-20 10:29:10 +0000 Merge commit 37b7207651b4 from llvm-project (by zhongyu...@huawei.com): [SimplifyCFG] Fix crash when there is unreachable large index (#88616) The large case index out of scope is dead code, but it is still be created for TableContents in SwitchLookupTable::SwitchLookupTable, so make sure the table size after growing should not get smaller. Fix https://github.com/llvm/llvm-project/issues/88607 This should fix "Assertion failed: (idx < size()), function operator[]" when building the science/dynare port. PR: 276104, 278320 Reported by: yuri MFC after: 1 month (cherry picked from commit 514c98ba14a0f590891844d1a6bec0ac4de54489) contrib/llvm-project/llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.