https://gcc.gnu.org/g:6f71e050a51378e1811b90fe9c16cd37bf4c48ec
commit r15-2822-g6f71e050a51378e1811b90fe9c16cd37bf4c48ec Author: Andrew Stubbs <a...@baylibre.com> Date: Thu Aug 8 13:12:43 2024 +0000 amdgcn: Re-enable trampolines The stacks are executable since the reverse-offload features were added, so trampolines actually do work. gcc/ChangeLog: * config/gcn/gcn.cc (gcn_trampoline_init): Re-enable trampolines. Diff: --- gcc/config/gcn/gcn.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc index 00f2978559bd..b22132de6ab7 100644 --- a/gcc/config/gcn/gcn.cc +++ b/gcc/config/gcn/gcn.cc @@ -3799,11 +3799,6 @@ gcn_asm_trampoline_template (FILE *f) static void gcn_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value) { - // FIXME - if (TARGET_GCN5_PLUS) - sorry ("nested function trampolines not supported on GCN5 due to" - " non-executable stacks"); - emit_block_move (m_tramp, assemble_trampoline_template (), GEN_INT (TRAMPOLINE_SIZE), BLOCK_OP_NORMAL);