From 23eb5d2c3a03e262e164342c18dfb8f61017f01f Mon Sep 17 00:00:00 2001 From: badumbatish Date: Tue, 27 Aug 2024 18:15:26 -0700 Subject: gccrs: Make inline mov compiles gcc/rust/ChangeLog: * backend/rust-compile-asm.cc (CompileAsm::asm_build_expr): Remove debug * expand/rust-macro-builtins-asm.cc (expand_inline_asm_strings): properly formatted via rust instead of c (parse_asm): formatted comment (parse_format_strings): formatted comment * hir/tree/rust-hir-expr.h: fix is_simple_asm() gcc/testsuite/ChangeLog: * rust/compile/inline_asm_parse_operand.rs: Fix format asm * rust/compile/inline_asm_parse_output_operand.rs: Fix format asm * rust/execute/torture/inline_asm_mov_x_5.rs: Move to... * rust/execute/inline_asm_mov_x_5.rs: ...here. --- gcc/rust/backend/rust-compile-asm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/rust/backend/rust-compile-asm.cc') diff --git a/gcc/rust/backend/rust-compile-asm.cc b/gcc/rust/backend/rust-compile-asm.cc index 92d60d7..045cc28 100644 --- a/gcc/rust/backend/rust-compile-asm.cc +++ b/gcc/rust/backend/rust-compile-asm.cc @@ -26,7 +26,7 @@ CompileAsm::asm_build_expr (HIR::InlineAsm &expr) ASM_BASIC_P (asm_expr) = expr.is_simple_asm (); ASM_VOLATILE_P (asm_expr) = false; ASM_INLINE_P (asm_expr) = expr.is_inline_asm (); - Backend::debug (asm_expr); + /*Backend::debug (asm_expr);*/ return asm_expr; } -- cgit v1.1