]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: inline-asm: Fix some warnings
authorArthur Cohen <arthur.cohen@embecosm.com>
Wed, 29 Jan 2025 14:41:19 +0000 (14:41 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:07:03 +0000 (13:07 +0100)
commitd9a21c1875110711159cc435124493849343532a
treeb000f86ce9f47287aa75ddec4a88b03e26cfb456
parentf4d20fbe6b546aa3028a606043638aeb56fb296f
gccrs: inline-asm: Fix some warnings

gcc/rust/ChangeLog:

* expand/rust-macro-builtins-asm.cc (strip_double_quotes): Special case empty
strings ("\"\"").
(parse_reg_operand): Remove use of the `struct` keyword.
(parse_reg_operand_in): Likewise.
(parse_reg_operand_out): Likewise.
* expand/rust-macro-builtins.cc: Add llvm_asm! built-in macro as an alias to asm!.
gcc/rust/expand/rust-macro-builtins-asm.cc
gcc/rust/expand/rust-macro-builtins.cc