From: Alexandre Oliva Date: Wed, 15 Nov 2023 01:15:32 +0000 (-0300) Subject: testsuite: arg-pushing reqs -mno-accumulate-outgoing-args X-Git-Tag: basepoints/gcc-15~4664 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a0daa3e55733318c5ad25c7420da0417d5b650;p=thirdparty%2Fgcc.git testsuite: arg-pushing reqs -mno-accumulate-outgoing-args gcc.target/i386/pr95126-m32-[34].c expect push instructions that are only present with -mno-accumulate-outgoing-args, so make that option explicit rather than dependent on tuning. for gcc/testsuite/ChangeLog * gcc.target/i386/pr95126-m32-3.c: Add -mno-accumulate-outgoing-args. * gcc.target/i386/pr95126-m32-4.c: Likewise. --- diff --git a/gcc/testsuite/gcc.target/i386/pr95126-m32-3.c b/gcc/testsuite/gcc.target/i386/pr95126-m32-3.c index cc2fe9480093..91608f86206d 100644 --- a/gcc/testsuite/gcc.target/i386/pr95126-m32-3.c +++ b/gcc/testsuite/gcc.target/i386/pr95126-m32-3.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { ia32 } } } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mno-accumulate-outgoing-args" } */ struct small{ short a; }; diff --git a/gcc/testsuite/gcc.target/i386/pr95126-m32-4.c b/gcc/testsuite/gcc.target/i386/pr95126-m32-4.c index e82933525450..85b30f69eca3 100644 --- a/gcc/testsuite/gcc.target/i386/pr95126-m32-4.c +++ b/gcc/testsuite/gcc.target/i386/pr95126-m32-4.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { ia32 } } } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mno-accumulate-outgoing-args" } */ struct small{ short a,b; };