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.
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);