Index: gcc/config/alpha/alpha.md --- gcc/config/alpha/alpha.md.orig +++ gcc/config/alpha/alpha.md @@ -4879,7 +4879,8 @@ if (CONST_INT_P (operands[1]) && INTVAL (operands[1]) < 32768) { - if (INTVAL (operands[1]) >= 4096) + if (INTVAL (operands[1]) >= 4096 + && (flag_stack_check || STACK_CHECK_BUILTIN)) { /* We do this the same way as in the prologue and generate explicit probes. Then we update the stack by the constant. */