Open omajid opened 2 years ago
On Fedora 35, building the .NET runtime (with profile guided optimizations enabled) leads to a crash:
git clone https://github.com/dotnet/runtime cd runtime ./build.sh clr -c Release
This produces:
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++-13 -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE _CORECLR -DFEATURE_CORESYSTEM -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_HW_INTRINSICS -DFEAT URE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RET URN -DFEATURE_NO_HOST -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE _REMOTE_PROC_MEM -DFEATURE_SIMD -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DJIT_BUILD -DNDEBUG -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 - D_SECURE_SCL=0 -D_UNICODE -Dclrjit_EXPORTS -I/home/omajid/devel/dotnet/runtime/artifacts/obj/coreclr/Linux.x64.Release/jit -I/home/omajid/devel/dotnet/runtime/src/coreclr/jit -I/home/omajid/devel/dotnet/runtime/src/native -I/home/omajid/d evel/dotnet/runtime/src/coreclr/pal/prebuilt/inc -I/home/omajid/devel/dotnet/runtime/artifacts/obj -I/home/omajid/devel/dotnet/runtime/src/coreclr/pal/inc -I/home/omajid/devel/dotnet/runtime/src/coreclr/pal/inc/rt -I/home/omajid/devel/dot net/runtime/src/coreclr/pal/src/safecrt -I/home/omajid/devel/dotnet/runtime/src/coreclr/inc -I/home/omajid/devel/dotnet/runtime/src/coreclr/debug/inc -I/home/omajid/devel/dotnet/runtime/src/coreclr/debug/inc/amd64 -I/home/omajid/devel/dot net/runtime/src/coreclr/debug/inc/dump -I/home/omajid/devel/dotnet/runtime/src/coreclr/md/inc -I/home/omajid/devel/dotnet/runtime/src/coreclr/classlibnative/bcltype -I/home/omajid/devel/dotnet/runtime/src/coreclr/classlibnative/cryptograp hy -I/home/omajid/devel/dotnet/runtime/src/coreclr/classlibnative/inc -I/home/omajid/devel/dotnet/runtime/artifacts/obj/coreclr/Linux.x64.Release/inc -I/home/omajid/devel/dotnet/runtime/src/coreclr/hosts/inc -I/home/omajid/devel/dotnet/ru ntime/src/coreclr/minipal -I/home/omajid/devel/dotnet/runtime/src/coreclr/pal/inc/rt/cpp -I/home/omajid/devel/dotnet/runtime/src/coreclr/nativeresources -I/home/omajid/devel/dotnet/runtime/src/coreclr/jit/./jitstd -I/home/omajid/devel/dot net/runtime/src/coreclr/jit/../inc -O3 -DNDEBUG -fPIC -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Werror -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wn o-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -fsigned-char -fvisibility=hidden -nostdinc -flto -fprofile-instr-use=/home/omajid/.nuget/packages/optimization.linux-x64.pgo.coreclr/1.0.0-prerelease.21577.2/data/coreclr.profdata -Wno -profile-instr-out-of-date -Wno-profile-instr-unprofiled -std=gnu++11 -Winvalid-pch -Xclang -include-pch -Xclang /home/omajid/devel/dotnet/runtime/artifacts/obj/coreclr/Linux.x64.Release/jit/CMakeFiles/clrjit.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/omajid/devel/dotnet/runtime/artifacts/obj/coreclr/Linux.x64.Release/jit/CMakeFiles/clrjit.dir/cmake_pch.hxx -MD -MT jit/CMakeFiles/clrjit.dir/optimizer.cpp.o -MF CMakeFiles/clrjit.dir/optimizer.cpp.o.d -o CMakeFile s/clrjit.dir/optimizer.cpp.o -c /home/omajid/devel/dotnet/runtime/src/coreclr/jit/optimizer.cpp 1. /home/omajid/devel/dotnet/runtime/src/coreclr/jit/optimizer.cpp:2660:1: current parser token 'void' 2. /home/omajid/devel/dotnet/runtime/src/coreclr/jit/optimizer.cpp:2612:16: LLVM IR generation of declaration 'Compiler::optIdentifyLoopsForAlignment' 3. /home/omajid/devel/dotnet/runtime/src/coreclr/jit/optimizer.cpp:2612:16: Generating code for declaration 'Compiler::optIdentifyLoopsForAlignment' #0 0x00007f2cd96029a6 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /usr/src/debug/llvm-13.0.0-4.fc35.x86_64/lib/Support/Unix/Signals.inc:569:3 #1 0x00007f2cd9600734 llvm::sys::RunSignalHandlers() /usr/src/debug/llvm-13.0.0-4.fc35.x86_64/lib/Support/Signals.cpp:97:20 #2 0x00007f2cd9532b28 /usr/src/debug/llvm-13.0.0-4.fc35.x86_64/lib/Support/CrashRecoveryContext.cpp:76:5 #3 0x00007f2cd9532b28 /usr/src/debug/llvm-13.0.0-4.fc35.x86_64/lib/Support/CrashRecoveryContext.cpp:389:62 #4 0x00007f2cd86bc750 __restore_rt (/lib64/libc.so.6+0x42750) #5 0x00007f2cd870984c __pthread_kill_implementation (/lib64/libc.so.6+0x8f84c) #6 0x00007f2cd86bc6a6 gsignal (/lib64/libc.so.6+0x426a6) #7 0x00007f2cd86a67d3 abort (/lib64/libc.so.6+0x2c7d3) #8 0x00007f2cdf59c038 (/lib64/libclang-cpp.so.13+0xa99038) #9 0x00007f2ce090fcb7 /usr/include/c++/11/bits/stl_vector.h:1045:2 #10 0x00007f2ce090fcb7 /usr/include/c++/11/bits/stl_vector.h:1043:7 #11 0x00007f2ce090fcb7 clang::CodeGen::CodeGenPGO::getRegionCount(clang::Stmt const*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.h:116:47 #12 0x00007f2ce091231b llvm::DenseMapBase<llvm::DenseMap<clang::Stmt const*, unsigned long, llvm::DenseMapInfo<clang::Stmt const*>, llvm::detail::DenseMapPair<clang::Stmt const*, unsigned long> >, clang::Stmt const*, unsigned long, llvm ::DenseMapInfo<clang::Stmt const*>, llvm::detail::DenseMapPair<clang::Stmt const*, unsigned long> >::operator[](clang::Stmt const*&&) /usr/include/llvm/ADT/DenseMap.h:342:28 #13 0x00007f2ce091231b /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:660:26 [130/12083] #14 0x00007f2ce091231b Visit /usr/src/debug/clang-13.0.0-3.fc35.x86_64/redhat-linux-build/include/clang/AST/StmtNodes.inc:121:1 #15 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:57:13 #16 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:94:15 #17 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:403:42 #18 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/Stmt.h:1980:51 #19 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/Stmt.h:2009:26 #20 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:665:19 #21 0x00007f2ce091237a Visit /usr/src/debug/clang-13.0.0-3.fc35.x86_64/redhat-linux-build/include/clang/AST/StmtNodes.inc:121:1 #22 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:57:13 #23 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:94:15 #24 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:403:42 #25 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/Stmt.h:1980:51 #26 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/Stmt.h:2009:26 #27 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:665:19 #28 0x00007f2ce091237a Visit /usr/src/debug/clang-13.0.0-3.fc35.x86_64/redhat-linux-build/include/clang/AST/StmtNodes.inc:121:1 #29 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:57:13 #30 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:94:15 #31 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:403:42 #32 0x00007f2ce091204a /usr/include/llvm/ADT/SmallVector.h:70:32 #33 0x00007f2ce091204a end /usr/include/llvm/ADT/SmallVector.h:255:41 #34 0x00007f2ce091204a /usr/include/llvm/ADT/SmallVector.h:296:15 #35 0x00007f2ce091204a /usr/include/llvm/ADT/SmallVector.h:636:38 #36 0x00007f2ce091204a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:547:55 #37 0x00007f2ce091204a Visit /usr/src/debug/clang-13.0.0-3.fc35.x86_64/redhat-linux-build/include/clang/AST/StmtNodes.inc:109:1 #38 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:57:13 #39 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:94:15 #40 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:403:42 #41 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/Stmt.h:1980:51 #42 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/Stmt.h:2009:26 #43 0x00007f2ce091237a /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:665:19 #44 0x00007f2ce091237a Visit /usr/src/debug/clang-13.0.0-3.fc35.x86_64/redhat-linux-build/include/clang/AST/StmtNodes.inc:121:1 #45 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:57:13 #46 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/StmtIterator.h:94:15 #47 0x00007f2ce091586e /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:403:42 #48 0x00007f2ce0923bc0 /usr/include/llvm/ADT/SmallVector.h:253:45 #49 0x00007f2ce0923bc0 end /usr/include/llvm/ADT/SmallVector.h:255:32 #50 0x00007f2ce0923bc0 /usr/include/llvm/ADT/SmallVector.h:1175:24 #51 0x00007f2ce0923bc0 ~ComputeRegionCounts /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:362:8 #52 0x00007f2ce0923bc0 clang::CodeGen::CodeGenPGO::computeRegionCounts(clang::Decl const*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:930:1 #53 0x00007f2ce0923fbc clang::CodeGen::CodeGenPGO::applyFunctionAttributes(llvm::IndexedInstrProfReader*, llvm::Function*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:935:3 #54 0x00007f2ce0923fbc clang::CodeGen::CodeGenPGO::assignRegionCounters(clang::GlobalDecl, llvm::Function*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenPGO.cpp:827:28 #55 0x00007f2ce08d2a44 /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/DeclBase.h:433:51 #56 0x00007f2ce08d2a44 clang::CXXDestructorDecl::classof(clang::Decl const*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/include/clang/AST/DeclCXX.h:2718:58 #57 0x00007f2ce08d2a44 llvm::isa_impl<clang::CXXDestructorDecl, clang::FunctionDecl, void>::doit(clang::FunctionDecl const&) /usr/include/llvm/Support/Casting.h:58:23 #58 0x00007f2ce08d2a44 llvm::isa_impl_cl<clang::CXXDestructorDecl, clang::FunctionDecl const*>::doit(clang::FunctionDecl const*) /usr/include/llvm/Support/Casting.h:105:36 #59 0x00007f2ce08d2a44 llvm::isa_impl_wrap<clang::CXXDestructorDecl, clang::FunctionDecl const*, clang::FunctionDecl const*>::doit(clang::FunctionDecl const* const&) /usr/include/llvm/Support/Casting.h:131:40 #60 0x00007f2ce08d2a44 llvm::isa_impl_wrap<clang::CXXDestructorDecl, clang::FunctionDecl const* const, clang::FunctionDecl const*>::doit(clang::FunctionDecl const* const&) /usr/include/llvm/Support/Casting.h:122:60 #61 0x00007f2ce08d2a44 bool llvm::isa<clang::CXXDestructorDecl, clang::FunctionDecl const*>(clang::FunctionDecl const* const&) /usr/include/llvm/Support/Casting.h:143:74 #62 0x00007f2ce08d2a44 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenFunction.cpp:1353:29 #63 0x00007f2ce090503e clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenModule.cpp:4861:3 #64 0x00007f2ce090175b clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenModule.cpp:3220:37 #65 0x00007f2ce0907b17 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenModule.cpp:5701:37 #66 0x00007f2ce096db71 /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/ModuleBuilder.cpp:169:67 #67 0x00007f2ce08b4757 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/CodeGen/CodeGenAction.cpp:217:7 #68 0x00007f2cdf6e03a4 clang::ParseAST(clang::Sema&, bool, bool) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Parse/ParseAST.cpp:162:17 #69 0x00007f2ce0f7ec69 clang::FrontendAction::Execute() /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Frontend/FrontendAction.cpp:951:21 #70 0x00007f2ce0f1c219 /usr/include/llvm/Support/Error.h:277:12 #71 0x00007f2ce0f1c219 /usr/include/llvm/Support/Error.h:236:22 #72 0x00007f2ce0f1c219 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Frontend/CompilerInstance.cpp:974:42 #73 0x00007f2ce0fee64b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/FrontendTool/ExecuteCompilerInvocation.cpp:279:32 #74 0x000055c33f742430 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/tools/driver/cc1_main.cpp:246:40 #75 0x000055c33f73f7bc ExecuteCC1Tool /usr/src/debug/clang-13.0.0-3.fc35.x86_64/tools/driver/driver.cpp:338:20 #76 0x00007f2ce0c38f79 /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Driver/Job.cpp:405:32 #77 0x00007f2ce0c38f79 callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::string*, bool*) const::<lambda()> > /usr/include/llvm/ADT/STLExtras.h:177:52 #78 0x00007f2cd9532bf7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /usr/src/debug/llvm-13.0.0-4.fc35.x86_64/lib/Support/CrashRecoveryContext.cpp:426:10 #79 0x00007f2ce0c3981e clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, bool*) const /usr/src/debug/clang-13.0.0-3.fc3 5.x86_64/lib/Driver/Job.cpp:409:10 #80 0x00007f2ce0c0edfb clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Driver/Compilation.cpp:197:3 #81 0x00007f2ce0c0f5be clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Driver/Compilation .cpp:249:5 #82 0x00007f2ce0c19532 /usr/include/llvm/ADT/SmallVector.h:73:47 #83 0x00007f2ce0c19532 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) /usr/src/debug/clang-13.0.0-3.fc35.x86_64/lib/Driver/Driver.cpp:1556:2 8 #84 0x000055c33f73d360 main /usr/src/debug/clang-13.0.0-3.fc35.x86_64/tools/driver/driver.cpp:508:5 #85 0x00007f2cd86a7560 __libc_start_call_main (/lib64/libc.so.6+0x2d560) #86 0x00007f2cd86a760c __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x2d60c) #87 0x000055c33f73ebf5 _start (/usr/bin/clang++-13+0x12bf5) clang-13: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 13.0.0 (Fedora 13.0.0-3.fc35) Target: x86_64-redhat-linux-gnu Thread model: posix InstalledDir: /usr/bin [ 67%] Building CXX object jit/CMakeFiles/clrjit_universal_arm64_x64.dir/jitconfig.cpp.o clang-13: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-13: note: diagnostic msg: /tmp/optimizer-3cd52e.cpp clang-13: note: diagnostic msg: /tmp/optimizer-3cd52e.sh clang-13: note: diagnostic msg: ******************** /usr/include/c++/11/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>; std::ve ctor<_Tp, _Alloc>::reference = long unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
optimizer-3cd52e.sh optimizer-3cd52e.cpp
Versions:
$ rpm -q clang llvm clang-13.0.0-3.fc35.x86_64 llvm-13.0.0-4.fc35.x86_64 $ clang --version clang version 13.0.0 (Fedora 13.0.0-3.fc35) Target: x86_64-redhat-linux-gnu Thread model: posix InstalledDir: /usr/bin
@llvm/issue-subscribers-clang-codegen
On Fedora 35, building the .NET runtime (with profile guided optimizations enabled) leads to a crash:
This produces:
optimizer-3cd52e.sh optimizer-3cd52e.cpp
Versions: