diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-18 22:46:43 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-18 22:46:43 +0200 |
| commit | 84f582665ef64467e2ca8f65448f75f14b12edf5 (patch) | |
| tree | c2dce1ff4b4960453b034b668ee4da0c52cb2265 | |
| parent | c123dc63ea5f765488e4d56aa55bf4467fce7d27 (diff) | |
| download | rust-84f582665ef64467e2ca8f65448f75f14b12edf5.tar.gz rust-84f582665ef64467e2ca8f65448f75f14b12edf5.zip | |
Fix compilation error in GCC backend
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/int.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/int.rs b/compiler/rustc_codegen_gcc/src/int.rs index 906d7eaceb6..9b5b0fde6e2 100644 --- a/compiler/rustc_codegen_gcc/src/int.rs +++ b/compiler/rustc_codegen_gcc/src/int.rs @@ -404,7 +404,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> { let ret_indirect = matches!(fn_abi.ret.mode, PassMode::Indirect { .. }); - let result = if ret_indirect { + let call = if ret_indirect { let res_value = self.current_func().new_local(self.location, res_type, "result_value"); let res_addr = res_value.get_address(self.location); let res_param_type = res_type.make_pointer(); |
