<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 - [10/11] fatal error: error in backend: Cannot emit physreg copy instruction"
href="https://bugs.llvm.org/show_bug.cgi?id=47195">47195</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[10/11] fatal error: error in backend: Cannot emit physreg copy instruction
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</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>anbu1024.me@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>$ cat test.c
void foo ( int arg ) {
register int x asm ( "20" ) = arg ;
asm ( "#before" : : "r" ( x ) ) ;
}
-------------------------------------------------------------------------------
$ clang --version
clang version 10.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/tom/Documents/llvm/10.0.1/install/bin
-------------------------------------------------------------------------------
$ clang test.c
fatal error: error in backend: Cannot emit physreg copy instruction
clang-10: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 10.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/tom/Documents/llvm/10.0.1/install/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang-10: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/test-f29b44.c
clang-10: note: diagnostic msg: /tmp/test-f29b44.sh
clang-10: note: diagnostic msg:
********************
-------------------------------------------------------------------------------
$ clang-11 --version
clang version 11.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/home/tom/Documents/llvm/clang+llvm-11.0.0-rc1-x86_64-linux-gnu-ubuntu-16.04/bin
-------------------------------------------------------------------------------
$ clang-11 test.c
fatal error: error in backend: Cannot emit physreg copy instruction
clang-11: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 11.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/home/tom/Documents/llvm/clang+llvm-11.0.0-rc1-x86_64-linux-gnu-ubuntu-16.04/bin
clang-11: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-11: note: diagnostic msg: /tmp/test-e87a8e.c
clang-11: note: diagnostic msg: /tmp/test-e87a8e.sh
clang-11: note: diagnostic msg:
********************</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>