<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 --- - Assertion `Success && "failed to evaluate label difference as absolute"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=26467">26467</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `Success && "failed to evaluate label difference as absolute"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>peter@pcc.me.uk
</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>$ cat gzread.i
a;
fn1() {
if (a)
fn2();
}
fn3() {
do
fn1();
while (fn3);
}
fn4() {}
$ ~/src/llvm/ra/bin/clang "-cc1" "-triple" "x86_64-pc-windows-msvc18.0.0"
"-emit-obj" "-mincremental-linker-compatible" "-disable-free" "-main-file-name"
"gzread.i" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix"
"-relaxed-aliasing" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-target-cpu" "x86-64" "-D_MT" "--dependent-lib=libcmt"
"--dependent-lib=oldnames" "-fno-rtti-data" "-gcodeview" "-fms-volatile"
"-fdiagnostics-format" "msvc" "-momit-leaf-frame-pointer" "-gcodeview"
"-dwarf-column-info" "-debug-info-kind=line-tables-only" "-debugger-tuning=gdb"
"-ffunction-sections" "-O2" "-Wno-unused-parameter"
"-Wno-deprecated-declarations" "-Wall" "-Werror" "-Wno-unused-parameter"
"-Wno-missing-field-initializers" "-Wno-microsoft-enum-value"
"-Wno-unknown-pragmas" "-Wno-microsoft-cast" "-Wheader-hygiene"
"-Wno-char-subscripts" "-Wno-unneeded-internal-declaration"
"-Wno-covered-switch-default" "-Wstring-conversion" "-Wno-c++11-narrowing"
"-Wno-deprecated-register" "-Wno-inconsistent-missing-override"
"-Wno-shift-negative-value" "-Wno-incompatible-pointer-types"
"-Wno-unused-variable" "-w" "-ferror-limit" "19" "-fmessage-length" "0"
"-fms-extensions" "-fms-compatibility" "-fms-compatibility-version=18.0"
"-fno-threadsafe-statics" "-fdelayed-template-parsing" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-o"
"gzread.obj" "-x" "cpp-output" "gzread.i"
clang: ../lib/MC/MCCodeView.cpp:249: unsigned int
computeLabelDiff(llvm::MCAsmLayout &, const llvm::MCSymbol *, const
llvm::MCSymbol *): Assertion `Success && "failed to evaluate label difference
as absolute"' failed.</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>