Skip to content

Commit 84f5826

Browse files
Fix compilation error in GCC backend
1 parent c123dc6 commit 84f5826

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_gcc/src

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_codegen_gcc/src/int.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
404404

405405
let ret_indirect = matches!(fn_abi.ret.mode, PassMode::Indirect { .. });
406406

407-
let result = if ret_indirect {
407+
let call = if ret_indirect {
408408
let res_value = self.current_func().new_local(self.location, res_type, "result_value");
409409
let res_addr = res_value.get_address(self.location);
410410
let res_param_type = res_type.make_pointer();

0 commit comments

Comments
 (0)