https://bugs.llvm.org/show_bug.cgi?id=42839
Bug ID: 42839
Summary: Compile error when input operator constraint of inline
asm has "o"
Product: new-bugs
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: ueno.masak...@jp.fujitsu.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
Created attachment 22321
--> https://bugs.llvm.org/attachment.cgi?id=22321&action=edit
Error log when compiling ruby
When compiling ruby-2.5.5 on aarch64/thunderX2t99, the compilation process is
aborted.
The problem seems to be due to the input operator constraint of inline asm
having "o".
Here's a short example.
-------------------
//This program aborts because "o" is included in "nor".
void hoge(void)
{
static const char *str = "HOGE";
__asm__ __volatile__(".asciz \"%[_SDT_A2]\"" : : [_SDT_A2] "nor" ((str)));
}
-------------------
There is no description of the "o" in the AArch64 section of the following URL,
but how should it be done?
> https://llvm.org/docs/LangRef.html#supported-constraint-code-list
If "o" is included, is it correct to ignore it?
The environment used for confirmation is as follows.
$ clang --version
clang version 7.0.1 (tags/RELEASE_701/final)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /oss/LLVM/llvm-7.0.1/install/bin
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs