Issue 242350
Summary [SystemZ][z/OS] Incorrect source location in diagnostic in asm string
Labels new issue
Assignees
Reporter abhina-sree
    #### Source (`<stdin>`):
```c
void f(unsigned x) {
  __asm__("\tXR %[\x68\x68],%[z]\n"
      : [\u{c7}\u{c7}] "=r"(x));
}
```

#### Compiler invocation:
```
clang -fsyntax-only --target=s390x-ibm-zos -xc -
```

#### Output:
```
<stdin>:2:33: error: unknown symbolic operand name in inline assembly string
    2 | __asm__("\tXR %[\x68\x68],%[z]\n"
      | ~~~~~~~~~~~~~~~~~~~~~~^~~
1 error generated.
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to