[llvm-bugs] [Bug 26081] New: Assertion failed: (BitWidth == RHS.BitWidth && "Comparison requires equal bit widths"), function operator==
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 8 09:40:04 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26081
Bug ID: 26081
Summary: Assertion failed: (BitWidth == RHS.BitWidth &&
"Comparison requires equal bit widths"), function
operator==
Product: libraries
Version: trunk
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: andrew at fubar.geek.nz
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15594
--> https://llvm.org/bugs/attachment.cgi?id=15594&action=edit
Minimised test case
I'm hitting the following when building the attached test case with clang 3.8:
Assertion failed: (BitWidth == RHS.BitWidth && "Comparison requires equal bit
widths"), function operator==, file
/home/at718/freebsd/lib/clang/libllvmselectiondag/../../../contrib/llvm/include/llvm/ADT/APInt.h,
line 978.
I'm building with:
cc -cc1 -triple aarch64-unknown-freebsd11.0 -emit-obj csqrt_test-cc283e.c
The stack trace is:
#0 0x00000000021c87e9 in handle_signal ()
#1 0x00000000021c83e9 in thr_sighandler ()
#2 <signal handler called>
#3 0x000000000223014a in thr_kill ()
#4 0x000000000227cd09 in abort ()
#5 0x0000000002263aaa in __assert ()
#6 0x00000000017e7d75 in (anonymous
namespace)::SelectionDAGLegalize::ExpandNode ()
#7 0x00000000017da6ae in (anonymous
namespace)::SelectionDAGLegalize::LegalizeOp ()
#8 0x00000000017d9ad2 in llvm::SelectionDAG::Legalize ()
#9 0x000000000173ad5c in llvm::SelectionDAGISel::CodeGenAndEmitDAG ()
#10 0x0000000001739f0f in llvm::SelectionDAGISel::SelectAllBasicBlocks ()
#11 0x000000000173773c in llvm::SelectionDAGISel::runOnMachineFunction ()
#12 0x0000000001b1817a in llvm::MachineFunctionPass::runOnFunction ()
#13 0x00000000020292fb in llvm::FPPassManager::runOnFunction ()
#14 0x000000000202952b in llvm::FPPassManager::runOnModule ()
#15 0x0000000002029999 in llvm::legacy::PassManagerImpl::run ()
#16 0x000000000066b35a in clang::EmitBackendOutput ()
#17 0x0000000000668e5f in clang::BackendConsumer::HandleTranslationUnit ()
#18 0x0000000000866275 in clang::ParseAST ()
#19 0x00000000006673cc in clang::CodeGenAction::ExecuteAction ()
#20 0x0000000000442bbb in clang::FrontendAction::Execute ()
#21 0x0000000000466b41 in clang::CompilerInstance::ExecuteAction ()
#22 0x000000000040aed7 in clang::ExecuteCompilerInvocation ()
#23 0x0000000000400872 in cc1_main ()
#24 0x0000000000408ee7 in main ()
--
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/20160108/c6f3ef41/attachment.html>
More information about the llvm-bugs
mailing list