]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/xtensa/xtensa.c
xtensa: fix PR target/90922
[thirdparty/gcc.git] / gcc / config / xtensa / xtensa.c
index 19bd616d67f60f8f15efa20521998a374b996a22..ee5612441e25d7a48502234ab2188e3abfd2315f 100644 (file)
@@ -2865,7 +2865,8 @@ xtensa_expand_prologue (void)
                            gen_rtx_SET (mem, reg));
            }
        }
-      if (total_size > 1024)
+      if (total_size > 1024
+         || (!callee_save_size && total_size > 128))
        {
          rtx tmp_reg = gen_rtx_REG (Pmode, A9_REG);
          emit_move_insn (tmp_reg, GEN_INT (total_size -