<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - LTO fails with inline asm labels referenced in C"
href="http://llvm.org/bugs/show_bug.cgi?id=5623">bug 5623</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - LTO fails with inline asm labels referenced in C"
href="http://llvm.org/bugs/show_bug.cgi?id=5623#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - LTO fails with inline asm labels referenced in C"
href="http://llvm.org/bugs/show_bug.cgi?id=5623">bug 5623</a>
from <span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span></b>
<pre>It doesn't work for me:
$ clang -c test.c
$ nm test.o
000000000000002b t ff_mlp_firorder_8
0000000000000000 d firtable
0000000000000000 T main
U printf
$ clang -c test.c
$ nm test.o
U ff_mlp_firorder_8
00000000 T main
U printf
note the undefined reference to ff_mlp_firorder_8.
also
$ clang test.o -o t -flto
<inline asm>:1:2: error: unknown use of instruction mnemonic without a size
suffix
jmp *$ff_mlp_firorder_8
^
LLVM ERROR: Error parsing inline asm
clang-3.4: error: linker command failed with exit code 1 (use -v to see
invocation)</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>