diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-08-04 07:41:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 07:41:58 +0000 |
commit | 73271c4ce5d33fe51766ce9cc438cad764bf31c1 (patch) | |
tree | 1e8ea266706945f4a3ac816125eb48719ff6aea3 /gcc/rust/rust-gcc.cc | |
parent | c707190b29e1e5b2d20fa9d68dcd7f043659aed4 (diff) | |
parent | 4292110a0aecd4ad3b48d16370c640679c3f2adf (diff) | |
download | gcc-73271c4ce5d33fe51766ce9cc438cad764bf31c1.zip gcc-73271c4ce5d33fe51766ce9cc438cad764bf31c1.tar.gz gcc-73271c4ce5d33fe51766ce9cc438cad764bf31c1.tar.bz2 |
Merge #607
607: Remove split-stack from backend r=tschwinge a=dkm
From Mark Wielaard : https://gcc.gnu.org/pipermail/gcc-rust/2021-August/000110.html
> The backend was derived from the go backend which enables split stack
> support by default. This inserts a __morestack call at the start of
> each function. This is not needed for the rust backend. Remove the
> split stack support code from the rust backend and spec.
Co-authored-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'gcc/rust/rust-gcc.cc')
-rw-r--r-- | gcc/rust/rust-gcc.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc index 3e47a7c..5c37cea 100644 --- a/gcc/rust/rust-gcc.cc +++ b/gcc/rust/rust-gcc.cc @@ -3382,11 +3382,6 @@ Gcc_backend::function (Btype *fntype, const std::string &name, } if ((flags & function_is_inlinable) == 0) DECL_UNINLINABLE (decl) = 1; - if ((flags & function_no_split_stack) != 0) - { - tree attr = get_identifier ("no_split_stack"); - DECL_ATTRIBUTES (decl) = tree_cons (attr, NULL_TREE, NULL_TREE); - } if ((flags & function_does_not_return) != 0) TREE_THIS_VOLATILE (decl) = 1; if ((flags & function_in_unique_section) != 0) |