<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - assembly: unrecognized token in .rept directive"
href="https://bugs.llvm.org/show_bug.cgi?id=34677">34677</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>assembly: unrecognized token in .rept directive
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ndesaulniers@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>kristof.beyls@gmail.com, llvm-bugs@lists.llvm.org, pirama@google.com, srhines@google.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19175" name="attach_19175" title="test case">attachment 19175</a> <a href="attachment.cgi?id=19175&action=edit" title="test case">[details]</a></span>
test case
Clang's assembler seems to have an issue with the use of `b` suffixes on labels
(at least that's what I think they are). Attached is a paired down test case
that seems to reproduce the issue.
The full code I'm trying to assemble is the Linux kernel. The source file
affected is:
<a href="http://elixir.free-electrons.com/linux/latest/source/arch/arm64/include/asm/alternative.h">http://elixir.free-electrons.com/linux/latest/source/arch/arm64/include/asm/alternative.h</a></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>