From: jjasmine Date: Tue, 21 May 2024 06:04:01 +0000 (-0700) Subject: Fix clobber_api brackets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b923da77f09ee7adcaff28eb7cc1b6d88e260cc2;p=thirdparty%2Fgcc.git Fix clobber_api brackets gcc/rust/ChangeLog: * expand/rust-macro-builtins-asm.cc (parse_clobber_abi): title. --- diff --git a/gcc/rust/expand/rust-macro-builtins-asm.cc b/gcc/rust/expand/rust-macro-builtins-asm.cc index 310131c5b311..cfe5906ba020 100644 --- a/gcc/rust/expand/rust-macro-builtins-asm.cc +++ b/gcc/rust/expand/rust-macro-builtins-asm.cc @@ -79,17 +79,17 @@ parse_clobber_abi (Parser &parser, TokenId last_token_id, // illegal, pleaes emit the correct error. return -1; } + } - // Done processing the local clobber abis, push that to the main Args in - // argument - - for (auto abi : new_abis) - { - args.clobber_abis.push_back (abi); - } + // Done processing the local clobber abis, push that to the main Args in + // argument - return 0; + for (auto abi : new_abis) + { + args.clobber_abis.push_back (abi); } + + return 0; } int