diff options
| author | bors <bors@rust-lang.org> | 2025-06-18 15:00:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-18 15:00:10 +0000 |
| commit | f9c15f40fbd7b4ba1baea6fb89551274047e17b3 (patch) | |
| tree | 7a8f47302a9efc517c790d26f20723cc9f4db6f6 /compiler/rustc_codegen_gcc/src/attributes.rs | |
| parent | 6f935a044d1ddeb6160494a6320d008d7c311aef (diff) | |
| parent | 864840512b7b605c0e44bfdbf29feb24c79608b3 (diff) | |
| download | rust-f9c15f40fbd7b4ba1baea6fb89551274047e17b3.tar.gz rust-f9c15f40fbd7b4ba1baea6fb89551274047e17b3.zip | |
Auto merge of #142669 - GuillaumeGomez:subtree-update_cg_gcc_2025-06-18, r=GuillaumeGomez
Update GCC backend subtree
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/attributes.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/attributes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/attributes.rs b/compiler/rustc_codegen_gcc/src/attributes.rs index c853c88a6ea..bf0927dc590 100644 --- a/compiler/rustc_codegen_gcc/src/attributes.rs +++ b/compiler/rustc_codegen_gcc/src/attributes.rs @@ -16,7 +16,7 @@ use crate::gcc_util::to_gcc_features; /// Checks if the function `instance` is recursively inline. /// Returns `false` if a functions is guaranteed to be non-recursive, and `true` if it *might* be recursive. #[cfg(feature = "master")] -fn resursively_inline<'gcc, 'tcx>( +fn recursively_inline<'gcc, 'tcx>( cx: &CodegenCx<'gcc, 'tcx>, instance: ty::Instance<'tcx>, ) -> bool { @@ -61,7 +61,7 @@ fn inline_attr<'gcc, 'tcx>( // // That prevents issues steming from recursive `#[inline(always)]` at a *relatively* small cost. // We *only* need to check all the terminators of a function marked with this attribute. - if resursively_inline(cx, instance) { + if recursively_inline(cx, instance) { Some(FnAttribute::Inline) } else { Some(FnAttribute::AlwaysInline) |
