diff options
author | badumbatish <tanghocle456@gmail.com> | 2024-07-23 22:17:12 -0700 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-07-31 16:59:40 +0000 |
commit | 96a8914ba02a00041a89f4e58a0cb5bbd08b3ab7 (patch) | |
tree | f08a8bad25f28f121ffcbcec92c5e7d2f389726c /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | 3b5801409dc15c6fed57750c0c90ae8a4599ab3e (diff) | |
download | gcc-96a8914ba02a00041a89f4e58a0cb5bbd08b3ab7.zip gcc-96a8914ba02a00041a89f4e58a0cb5bbd08b3ab7.tar.gz gcc-96a8914ba02a00041a89f4e58a0cb5bbd08b3ab7.tar.bz2 |
Fix the parser's operand and flags storage
gcc/rust/ChangeLog:
* ast/rust-expr.h (struct InlineAsmOperand):
Add construction for register_type
* expand/rust-macro-builtins-asm.cc (parse_reg_operand):
Fix parsing logic & reassignment logic
(parse_reg_operand_in): Fix parsing
(parse_reg_operand_out): Fix parsing
(parse_reg_operand_inout): Fix parsing
(parse_reg_operand_unexpected): Remove rust_unreachable()
(parse_asm_arg): Fix parsing logic
* expand/rust-macro-builtins-asm.h: Add = operator overloading
gcc/testsuite/ChangeLog:
* rust/compile/inline_asm_illegal_operands.rs: Test now passing
* rust/compile/inline_asm_parse_operand.rs: Remove _, not
supported right now
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions