<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - crash of llvm-diff (Assertion `!Result && "structural differences second time around?"' failed)"
href="https://llvm.org/bugs/show_bug.cgi?id=26845">26845</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>crash of llvm-diff (Assertion `!Result && "structural differences second time around?"' failed)
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>chengniansun@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>When I apply llvm-diff to the attached two bc files(t.c_003.bc and temp.bc),
llvm-diff crashes.
$: llvm-diff-trunk t.c_003.bc temp.bc
in function platform_main_end:
in block %entry:
in instruction store to %crc.addr / store to %crc.addr:
operands %crc.addr and %crc.addr differ
llvm-diff-trunk:
/tmp/llvm-builder/llvm-source-trunk/tools/llvm-diff/DifferenceEngine.cpp:179:
void {anonymous}::FunctionDifferenceEngine::unify(llvm::Instruction*,
llvm::Instruction*): Assertion `!Result && "structural differences second time
around?"' failed.
Aborted (core dumped)
$:
$: clang-trunk -v
clang version 3.9.0 (trunk 262593)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/5.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.0
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.3.0
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
$:
$: llvm-diff-trunk -version
LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):
LLVM version 3.9.0svn
Optimized build with assertions.
Built Mar 3 2016 (01:23:18).
Default target: x86_64-unknown-linux-gnu
Host CPU: nehalem
$:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>