Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

error: expected assembly-time absolute expression #33378

Open Quuxplusone opened 7 years ago

Quuxplusone commented 7 years ago
Bugzilla Link PR34406
Status NEW
Importance P normal
Reported by George-cristinel Sevastian (george-cristinel.sevastian@nxp.com)
Reported on 2017-09-01 05:43:18 -0700
Last modified on 2021-04-27 17:30:06 -0700
Version 4.0
Hardware PC All
CC echristo@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@ndave.org, ndesaulniers@google.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
Error when trying to pass sum of two symbols to .org directive:

.org 0x10
foo:

.org 0x20
bar:

.org foo + bar
foobar:

This gives the following error:
test.s:7:6: error: expected assembly-time absolute expression
.org foo + bar
     ^
Quuxplusone commented 3 years ago

Still reproducible for me.