]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: arg-pushing reqs -mno-accumulate-outgoing-args
authorAlexandre Oliva <oliva@adacore.com>
Wed, 15 Nov 2023 01:15:32 +0000 (22:15 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 15 Nov 2023 01:15:32 +0000 (22:15 -0300)
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.

gcc/testsuite/gcc.target/i386/pr95126-m32-3.c
gcc/testsuite/gcc.target/i386/pr95126-m32-4.c

index cc2fe9480093b054fb0d0fa6705253bb9f852ca0..91608f86206d2619681ebb2ed602817586d38fa8 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ia32 } } } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mno-accumulate-outgoing-args" } */
 
 struct small{ short a; };
 
index e82933525450c5c1fe913cb207fb2b822da4816d..85b30f69eca3c13cb51e25a9614ede24127d47b8 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ia32 } } } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mno-accumulate-outgoing-args" } */
 
 struct small{ short a,b; };