[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/30336] The GNU Assembler has bugs in Intel syntax
From: |
lh_mouse at 126 dot com |
Subject: |
[Bug gas/30336] The GNU Assembler has bugs in Intel syntax |
Date: |
Mon, 01 May 2023 17:10:59 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30336
--- Comment #5 from LIU Hao <lh_mouse at 126 dot com> ---
There is apparently confusion about using register names, instruction names or
other keywords as labels. People who write Intel assembly shall know that those
are 'bad' names for labels.
That is to say, expecting GAS to parse `rsp` as a label is impractical. Rather,
GAS should have rejected that `rsp:` thing. Something such as 'error: `rsp`
cannot be used as a label name` is more clear, more precise, and safer, than
silently producing unexpected code.
--
You are receiving this mail because:
You are on the CC list for the bug.