This is one more patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99531
The following patch fixes the test failure on ia32.
commit 4ddeae2b2777aa5136fc2bb21c15b0fcccdafece Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Tue Dec 14 08:57:30 2021 -0500 [PR99531] Do not scan push insn for ia32 in the test The patch prohibits scanning push insn for ia32 as push are expected not to be generated only for x86_64 Linux ABI. gcc/testsuite/ChangeLog: PR target/99531 * gcc.target/i386/pr99531.c: Do not scan for ia32. diff --git a/gcc/testsuite/gcc.target/i386/pr99531.c b/gcc/testsuite/gcc.target/i386/pr99531.c index 0e1a08b7c77..98536452488 100644 --- a/gcc/testsuite/gcc.target/i386/pr99531.c +++ b/gcc/testsuite/gcc.target/i386/pr99531.c @@ -4,4 +4,4 @@ int func(int, int, int, int, int, int); int caller(int a, int b, int c, int d, int e) { return func(0, a, b, c, d, e); } -/* { dg-final { scan-assembler-not "push" } } */ +/* { dg-final { scan-assembler-not "push" { target { ! ia32 } } } } */