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 | acdd3b729ff82be3d5f540f08cdb4b479fdf9de9 (patch) | |
| tree | 9562bb0e975b6dd14f3c07d382f4b4cb851a9fb2 | |
| parent | 4900dd2e5ccd5cd9a67f0d7c908a15c5a24067ab (diff) | |
| download | rust-acdd3b729ff82be3d5f540f08cdb4b479fdf9de9.tar.gz rust-acdd3b729ff82be3d5f540f08cdb4b479fdf9de9.zip | |
Fix compilation error in GCC backend
| -rw-r--r-- | src/int.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/int.rs b/src/int.rs index 906d7eaceb6..9b5b0fde6e2 100644 --- a/src/int.rs +++ b/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(); |
