$OpenBSD: patch-gcc_config_alpha_alpha_md,v 1.1.1.1 2011/11/14 13:00:57 pascal Exp $
--- gcc/config/alpha/alpha.md.orig	Sat Nov 12 13:22:18 2011
+++ gcc/config/alpha/alpha.md	Sat Nov 12 13:25:32 2011
@@ -6560,7 +6560,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.  */
