[llvm-bugs] [Bug 42467] New: Assertion `MaybeODRUseExprs.empty() && "Leftover expressions for odr-use checking"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 1 08:56:10 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42467
Bug ID: 42467
Summary: Assertion `MaybeODRUseExprs.empty() && "Leftover
expressions for odr-use checking"' failed.
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: keveman at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 22174
--> https://bugs.llvm.org/attachment.cgi?id=22174&action=edit
Test case crashing clang frontend
clang crashes with that assertion failing.
https://bugs.llvm.org/show_bug.cgi?id=12581 and
https://bugs.llvm.org/show_bug.cgi?id=13986 seem like possible duplicates, but
my test case was different enough, that I feel this maybe a different bug
causing the same assertion failure.
clang cloned from https://github.com/llvm/llvm-project
Latest commit 42e13c83284e94607b3a5751598f2c1661447356 Wed Jun 26 15:11:31 2019
clang -c 119.cc -O0 -emit-llvm -save-temps
clang-9: /cb/home/manjunath/ws/llvm-project/clang/lib/Sema/SemaDecl.cpp:13564:
clang::Decl* clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*,
bool): Assertion `MaybeODRUseExprs.empty() && "Leftover expressions for odr-use
checking"' failed.
Stack dump:
0. Program arguments: /spare/manjunath-build-llvm/bin/clang-9 -cc1 -triple
x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists -save-temps=cwd
-disable-free -main-file-name 119.cc -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 -coverage-notes-file
/cb/home/manjunath/ws/test/cerebras/119.gcno -resource-dir
/spare/manjunath-build-llvm/lib/clang/9.0.0 -O0 -fdeprecated-macro
-fdebug-compilation-dir /cb/home/manjunath/ws/test/cerebras -ferror-limit 19
-fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -disable-llvm-passes -faddrsig -o
119.tmp.bc -x c++-cpp-output 119.ii
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190701/e3dfd2e6/attachment.html>
More information about the llvm-bugs
mailing list