systemc-clang icon indicating copy to clipboard operation
systemc-clang copied to clipboard

test_level2.cpp fails

Open zhuanhao-wu opened this issue 1 year ago • 0 comments

The systemc-clang binary crashes, it does not seem to be a syntax error. The design is a mix of thread and processes.

https://github.com/intel/systemc-compiler/blob/main/tests/method/test_level2.cpp

The last couple lines of log:

systemc-clang: /opt/clang-13.0.0/include/llvm/ADT/SmallVector.h:281: const T& llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::operator[](llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type) const [with T = std::pair<const systemc_clang::SplitCFGBlock*, systemc_clang::SupplementaryInfo>; <template-parameter-1-2> = void; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::const_reference = const std::pair<const systemc_clang::SplitCFGBlock*, systemc_clang::SupplementaryInfo>&; llvm::SmallVectorTemplateCommon<T, <template-parameter-1-2> >::size_type = long unsigned int]: Assertion `idx < size()' failed.
Aborted (core dumped)

zhuanhao-wu avatar Oct 11 '22 02:10 zhuanhao-wu