aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-expr.cc
diff options
context:
space:
mode:
authorbadumbatish <tanghocle456@gmail.com>2024-07-23 22:17:12 -0700
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-07-31 16:59:40 +0000
commit96a8914ba02a00041a89f4e58a0cb5bbd08b3ab7 (patch)
treef08a8bad25f28f121ffcbcec92c5e7d2f389726c /gcc/rust/resolve/rust-ast-resolve-expr.cc
parent3b5801409dc15c6fed57750c0c90ae8a4599ab3e (diff)
downloadgcc-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