testsuite: Use -fno-ipa-icf in gcc.dg/stack-check-2.c

2024-10-24 Thread Joseph Myers
One test failing with a -std=gnu23 default that I wanted to investigate further is gcc.dg/stack-check-2.c. The failures are FAIL: gcc.dg/stack-check-2.c scan-tree-dump-not optimized "tail call" FAIL: gcc.dg/stack-check-2.c scan-tree-dump-not tailc "tail call" but it turns out the tail calls in q

Re: testsuite: Use -fno-ipa-icf in gcc.dg/stack-check-2.c

2024-10-24 Thread Jakub Jelinek
On Thu, Oct 24, 2024 at 06:42:01PM +, Joseph Myers wrote: > One test failing with a -std=gnu23 default that I wanted to > investigate further is gcc.dg/stack-check-2.c. The failures are > > FAIL: gcc.dg/stack-check-2.c scan-tree-dump-not optimized "tail call" > FAIL: gcc.dg/stack-check-2.c sc