https://bugs.llvm.org/show_bug.cgi?id=39000
Bug ID: 39000
Summary: x86 integrated assembler: & separator not functional
in .altmacro mode in some cases
Product: new-bugs
Version: 6.0
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: ema...@freebsd.org
CC: llvm-bugs@lists.llvm.org
Blocks: 33405
Found while trying to build the FreeBSD base system entirely with the
integrated assembler.
"In the alternative macro syntax mode the ampersand character (‘&’) can be used
as a separator."
Consider the following snippet:
-------------------------
.altmacro
v_0_0 = 255
.macro w v1,v2
_c_ = v_\v1&_\v2
.word _c_
.endm
w 0 0
-------------------------
GNU as and gcc assemble this by evaluating _c_ = v_0_0, producing .word 255.
Clang IAS produces:
<instantiation>:1:10: error: expression could not be evaluated
_c_ = v_0&_0
^
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=33405
[Bug 33405] [meta] Using the integrated assembler to build the FreeBSD base
system (kernel + world)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs