llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Clang 8.0 crashes during compilation

Open llvmbot opened this issue 5 years ago • 2 comments

Bugzilla Link 43928
Version 8.0
OS Linux
Attachments Preprocessed source(s) and associated run script(s)
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@zygoloid

Extended Description

During the compilation of the following Code clash 8.0 crashes: #include

template<typename type, typename unitenum, unitenum DefaultUnit> class CommonUnit { public: typedef unitenum eUnit; typedef type DataType;

template inline void set(settype Value = 0, unitenum theUnit = DefaultUnit) { m_Value = static_cast(Value * static_cast(theUnit)); }

private: type m_Value;

};

enum eSpeedUnit { CentimetersPerSecond = 1, };

typedef CommonUnit<int32_t, eSpeedUnit, CentimetersPerSecond> Speed;

template<> template inline void Speed::set(settype Value, eSpeedUnit theUnit) { }

int main(void) { Speed s; s.set(1); }

$ clang++-8 main.cpp Stack dump: 0. Program arguments: /usr/lib/llvm-8/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -resource-dir /usr/lib/llvm-8/lib/clang/8.0.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/c++/7.4.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/x86_64-linux-gnu/c++/7.4.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/x86_64-linux-gnu/c++/7.4.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/c++/7.4.0/backward -internal-isystem /usr/include/clang/8.0.0/include/ -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-8/lib/clang/8.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/aaron/src/test/DEFECT-45956/v2 -ferror-limit 19 -fmessage-length 244 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/main-2af4bd.o -x c++ main.cpp -faddrsig

  1. parser at end of file
  2. main.cpp:35:5: LLVM IR generation of declaration 'main'
  3. main.cpp:35:5: Generating code for declaration 'main' #​0 0x00007f55c9ed34bf llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/x86_64-linux-gnu/libLLVM-8.so.1+0x9724bf) #​1 0x00007f55c9ed1910 llvm::sys::RunSignalHandlers() (/usr/lib/x86_64-linux-gnu/libLLVM-8.so.1+0x970910) #​2 0x00007f55c9ed38c8 (/usr/lib/x86_64-linux-gnu/libLLVM-8.so.1+0x9728c8) #​3 0x00007f55cd1c0890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890) #​4 0x00000000009489e9 (/usr/lib/llvm-8/bin/clang+0x9489e9) #​5 0x00000000008b5236 clang::CodeGen::CodeGenFunction::EmitLoadOfLValue(clang::CodeGen::LValue, clang::SourceLocation) (/usr/lib/llvm-8/bin/clang+0x8b5236) #​6 0x00000000008dfd42 (/usr/lib/llvm-8/bin/clang+0x8dfd42) #​7 0x00000000008dfe28 (/usr/lib/llvm-8/bin/clang+0x8dfe28) #​8 0x00000000008d7d8f clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-8/bin/clang+0x8d7d8f) #​9 0x00000000008a5e06 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-8/bin/clang+0x8a5e06) #​10 0x00000000008a667d clang::CodeGen::CodeGenFunction::EmitAnyExprToTemp(clang::Expr const*) (/usr/lib/llvm-8/bin/clang+0x8a667d) #​11 0x0000000000874b60 clang::CodeGen::CodeGenFunction::EmitCallArg(clang::CodeGen::CallArgList&, clang::Expr const*, clang::QualType) (/usr/lib/llvm-8/bin/clang+0x874b60) #​12 0x0000000000873eef clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&, llvm::ArrayRefclang::QualType, llvm::iterator_rangeclang::Stmt::ConstExprIterator, clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int, clang::CodeGen::CodeGenFunction::EvaluationOrder) (/usr/lib/llvm-8/bin/clang+0x873eef) #​13 0x00000000007e0c11 (/usr/lib/llvm-8/bin/clang+0x7e0c11) #​14 0x00000000008c7c07 (/usr/lib/llvm-8/bin/clang+0x8c7c07) #​15 0x00000000008c7832 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/usr/lib/llvm-8/bin/clang+0x8c7832) #​16 0x00000000008c9a79 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/usr/lib/llvm-8/bin/clang+0x8c9a79) #​17 0x00000000008c804f clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-8/bin/clang+0x8c804f) #​18 0x00000000008bc56f clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/usr/lib/llvm-8/bin/clang+0x8bc56f) #​19 0x00000000008e626f (/usr/lib/llvm-8/bin/clang+0x8e626f) #​20 0x00000000008d7d8f clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/usr/lib/llvm-8/bin/clang+0x8d7d8f) #​21 0x00000000008a5e06 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/usr/lib/llvm-8/bin/clang+0x8a5e06) #​22 0x00000000008a5d59 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/usr/lib/llvm-8/bin/clang+0x8a5d59) #​23 0x00000000007134c2 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/usr/lib/llvm-8/bin/clang+0x7134c2) #​24 0x000000000071c4d0 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/usr/lib/llvm-8/bin/clang+0x71c4d0) #​25 0x0000000000755f3e clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/usr/lib/llvm-8/bin/clang+0x755f3e) #​26 0x00000000007567bf clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/usr/lib/llvm-8/bin/clang+0x7567bf) #​27 0x000000000076d032 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-8/bin/clang+0x76d032) #​28 0x000000000076782b clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/usr/lib/llvm-8/bin/clang+0x76782b) #​29 0x000000000076f682 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (/usr/lib/llvm-8/bin/clang+0x76f682) #​30 0x0000000000d5ab2f (/usr/lib/llvm-8/bin/clang+0xd5ab2f) #​31 0x0000000000d585a2 (/usr/lib/llvm-8/bin/clang+0xd585a2) #​32 0x00000000011df363 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-8/bin/clang+0x11df363) #​33 0x0000000000addfcf clang::FrontendAction::Execute() (/usr/lib/llvm-8/bin/clang+0xaddfcf) #​34 0x0000000000a9bb18 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-8/bin/clang+0xa9bb18) #​35 0x0000000000b644c6 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-8/bin/clang+0xb644c6) #​36 0x00000000006a32e7 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/lib/llvm-8/bin/clang+0x6a32e7) #​37 0x00000000006a17d6 main (/usr/lib/llvm-8/bin/clang+0x6a17d6) #​38 0x00007f55c8852b97 __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0 #​39 0x000000000069eeca _start (/usr/lib/llvm-8/bin/clang+0x69eeca) clang: error: unable to execute command: Segmentation fault (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 8.0.0-3~ubuntu18.04.1 (tags/RELEASE_800/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg:

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/main-ba60e7.cpp clang: note: diagnostic msg: /tmp/main-ba60e7.sh clang: note: diagnostic msg:


llvmbot avatar Nov 07 '19 12:11 llvmbot

This still triggers an assertion on post 16 trunk(c3b27c236d6a495acbe2ba95c43faf9a98e81a46)

https://godbolt.org/z/16EGfT7cM

The slightly shorted code is


template<typename type, typename unitenum, unitenum DefaultUnit>
class CommonUnit
{
public:

   template<typename settype>
   inline void set(settype Value, unitenum theUnit = DefaultUnit)
   {
      static_cast<type>(Value * static_cast<settype>(theUnit));
   }
};

enum eSpeedUnit
{
   CentimetersPerSecond = 1,
};

typedef CommonUnit<int, eSpeedUnit, CentimetersPerSecond> Speed;

template<>
template<typename settype>
inline void Speed::set(settype Value, eSpeedUnit theUnit)
{
}

int main(void)
{
    Speed s;
    s.set(1);
}

The assertion is

clang++: /root/llvm-project/clang/lib/CodeGen/CGCall.cpp:4402: void clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&, 
clang::CodeGen::CodeGenFunction::PrototypeWrapper, llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, const 
clang::Expr* const, const clang::Stmt* const> >, clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int, 
clang::CodeGen::CodeGenFunction::EvaluationOrder): 
Assertion `(isGenericMethod || Ty->isVariablyModifiedType() || Ty.getNonReferenceType()->isObjCRetainableType() ||
       getContext() .getCanonicalType(Ty.getNonReferenceType()) .getTypePtr() == 
       getContext().getCanonicalType((*Arg)->getType()).getTypePtr()) 
&& "type mismatch in call argument!"' failed.

The full backtrace is

clang++: /root/llvm-project/clang/lib/CodeGen/CGCall.cpp:4402: void clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&, clang::CodeGen::CodeGenFunction::PrototypeWrapper, llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, const clang::Expr* const, const clang::Stmt* const> >, clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int, clang::CodeGen::CodeGenFunction::EvaluationOrder): Assertion `(isGenericMethod || Ty->isVariablyModifiedType() || Ty.getNonReferenceType()->isObjCRetainableType() || getContext() .getCanonicalType(Ty.getNonReferenceType()) .getTypePtr() == getContext().getCanonicalType((*Arg)->getType()).getTypePtr()) && "type mismatch in call argument!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /opt/compiler-explorer/clang-assertions-trunk/bin/clang++ -gdwarf-4 -g -o /app/output.s -mllvm --x86-asm-syntax=intel -S --gcc-toolchain=/opt/compiler-explorer/gcc-snapshot -fcolor-diagnostics -fno-crash-diagnostics <source>
1.	<eof> parser at end of file
2.	<source>:27:5: LLVM IR generation of declaration 'main'
3.	<source>:27:5: Generating code for declaration 'main'
 #0 0x000055df37f8ff2f llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3c52f2f)
 #1 0x000055df37f8dc9c llvm::sys::CleanupOnSignal(unsigned long) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3c50c9c)
 #2 0x000055df37ed8398 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #3 0x00007fd3ecb74420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
 #4 0x00007fd3ec64100b raise (/lib/x86_64-linux-gnu/libc.so.6+0x4300b)
 #5 0x00007fd3ec620859 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22859)
 #6 0x00007fd3ec620729 (/lib/x86_64-linux-gnu/libc.so.6+0x22729)
 #7 0x00007fd3ec631fd6 (/lib/x86_64-linux-gnu/libc.so.6+0x33fd6)
 #8 0x000055df386096ba clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&, clang::CodeGen::CodeGenFunction::PrototypeWrapper, llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, clang::Expr const* const, clang::Stmt const* const>>, clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int, clang::CodeGen::CodeGenFunction::EvaluationOrder) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x42cc6ba)
 #9 0x000055df386af119 commonEmitCXXMemberOrOperatorCall(clang::CodeGen::CodeGenFunction&, clang::GlobalDecl, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList&, clang::CodeGen::CallArgList*) CGExprCXX.cpp:0:0
#10 0x000055df386afa64 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4372a64)
#11 0x000055df386b12b1 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x43742b1)
#12 0x000055df386b224c clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x437524c)
#13 0x000055df38698046 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x435b046)
#14 0x000055df386e0ecd (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) CGExprScalar.cpp:0:0
#15 0x000055df386d7d6c clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) CGExprScalar.cpp:0:0
#16 0x000055df386dfeb4 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x43a2eb4)
#17 0x000055df38673c0e clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4336c0e)
#18 0x000055df38695ceb clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4358ceb)
#19 0x000055df382b99d7 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3f7c9d7)
#20 0x000055df382c02d4 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3f832d4)
#21 0x000055df3832026a clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3fe326a)
#22 0x000055df38333e9f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3ff6e9f)
#23 0x000055df38398e09 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x405be09)
#24 0x000055df38393db5 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4056db5)
#25 0x000055df38394988 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4057988)
#26 0x000055df3839d7d3 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (.part.0) CodeGenModule.cpp:0:0
#27 0x000055df3920cac6 (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) ModuleBuilder.cpp:0:0
#28 0x000055df391feb70 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4ec1b70)
#29 0x000055df3a706e14 clang::ParseAST(clang::Sema&, bool, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x63c9e14)
#30 0x000055df392099a8 clang::CodeGenAction::ExecuteAction() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4ecc9a8)
#31 0x000055df38a53b79 clang::FrontendAction::Execute() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4716b79)
#32 0x000055df389d94c6 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x469c4c6)
#33 0x000055df38b382a6 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x47fb2a6)
#34 0x000055df354320ed cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x10f50ed)
#35 0x000055df3542ddea ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#36 0x000055df3883823d void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#37 0x000055df37ed88a0 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3b9b8a0)
#38 0x000055df3883885f clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0
#39 0x000055df387ff9ec clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x44c29ec)
#40 0x000055df3880047d clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x44c347d)
#41 0x000055df3880855d clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x44cb55d)
#42 0x000055df3543034a clang_main(int, char**, llvm::ToolContext const&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x10f334a)
#43 0x000055df353365c5 main (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xff95c5)
#44 0x00007fd3ec622083 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24083)
#45 0x000055df35428bce _start (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x10ebbce)
clang++: error: clang frontend command failed with exit code 134 (use -v to see invocation)
Compiler returned: 134

wheatman avatar Jun 27 '23 19:06 wheatman

@llvm/issue-subscribers-clang-codegen

llvmbot avatar Jun 27 '23 19:06 llvmbot

Fixed in trunk: https://godbolt.org/z/ab7aeEeh5

shafik avatar May 14 '24 23:05 shafik