[llvm-bugs] [Bug 47195] New: [10/11] fatal error: error in backend: Cannot emit physreg copy instruction
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Aug 16 18:05:31 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47195
Bug ID: 47195
Summary: [10/11] fatal error: error in backend: Cannot emit
physreg copy instruction
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: anbu1024.me at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
$ 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
https://bugs.llvm.org/ 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:
********************
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200817/a262a0dd/attachment.html>
More information about the llvm-bugs
mailing list