ports/lang/bootgcc/patches/patch-gcc_config_alpha_alpha_md

14 lines
467 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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. */