https://gcc.gnu.org/g:495a687dc93a58110076700f48fb57fa79026bef
commit 495a687dc93a58110076700f48fb57fa79026bef Author: Michael Matz <m...@suse.de> Date: Tue Jul 9 14:26:31 2024 +0200 x86-ssw: Adjust testcase this testcase tries to (uselessly) shrink wrap frame allocation in f0(), and then calls the prologue expander twice emitting the messages looked for with the dejagnu directives more times than expected. Just disable separate shrink wrapping here. Diff: --- gcc/testsuite/gcc.dg/stack-check-5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/stack-check-5.c b/gcc/testsuite/gcc.dg/stack-check-5.c index 0243147939c1..b93dabdaea1d 100644 --- a/gcc/testsuite/gcc.dg/stack-check-5.c +++ b/gcc/testsuite/gcc.dg/stack-check-5.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fstack-clash-protection -fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12 --param stack-clash-protection-guard-size=12" } */ +/* { dg-options "-O2 -fstack-clash-protection -fno-shrink-wrap-separate -fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12 --param stack-clash-protection-guard-size=12" } */ /* { dg-require-effective-target supports_stack_clash_protection } */ /* { dg-skip-if "" { *-*-* } { "-fstack-protector*" } { "" } } */