pr43662.c (dg-options): Add -maccumulate-outgoing-args.
authorUros Bizjak <ubizjak@gmail.com>
Sun, 15 Dec 2013 11:20:53 +0000 (12:20 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 15 Dec 2013 11:20:53 +0000 (12:20 +0100)
* gcc.target/i386/pr43662.c (dg-options):
Add -maccumulate-outgoing-args.
* gcc.target/i386/pr43869.c (dg-options): Ditto.
* gcc.target/i386/pr57003.c (dg-options): Ditto.
* gcc.target/i386/avx-vzeroupper-16.c (dg-options):
Remove -mtune=generic and add -maccumulate-outgoing-args instead.
* gcc.target/i386/avx-vzeroupper-17.c (dg-options): Ditto.
* gcc.target/i386/avx-vzeroupper-18.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-1.c (dg-options):
Add -maccumulate-outgoing-args.
* gcc.target/x86_64/abi/callabi/func-2a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-2b.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-indirect.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-indirect-2a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/func-indirect-2b.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/leaf-1.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/leaf-2.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/pr38891.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-1.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-2.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-3.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-4a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-4b.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-5a.c (dg-options): Ditto.
* gcc.target/x86_64/abi/callabi/vaarg-5b.c (dg-options): Ditto.

From-SVN: r205998

23 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-vzeroupper-16.c
gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c
gcc/testsuite/gcc.target/i386/avx-vzeroupper-18.c
gcc/testsuite/gcc.target/i386/pr43662.c
gcc/testsuite/gcc.target/i386/pr43869.c
gcc/testsuite/gcc.target/i386/pr57003.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-1.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-2.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/pr38891.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c

index 7074acab2aef257787287b08efec670b6d071637..03acadd506261adf79d2e77087c4c03efa90bf9a 100644 (file)
@@ -1,3 +1,31 @@
+2013-12-15  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/pr43662.c (dg-options):
+       Add -maccumulate-outgoing-args.
+       * gcc.target/i386/pr43869.c (dg-options): Ditto.
+       * gcc.target/i386/pr57003.c (dg-options): Ditto.
+       * gcc.target/i386/avx-vzeroupper-16.c (dg-options):
+       Remove -mtune=generic and add -maccumulate-outgoing-args instead.
+       * gcc.target/i386/avx-vzeroupper-17.c (dg-options): Ditto.
+       * gcc.target/i386/avx-vzeroupper-18.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/func-1.c (dg-options):
+       Add -maccumulate-outgoing-args.
+       * gcc.target/x86_64/abi/callabi/func-2a.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/func-2b.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/func-indirect.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/func-indirect-2a.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/func-indirect-2b.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/leaf-1.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/leaf-2.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/pr38891.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-1.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-2.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-3.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-4a.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-4b.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-5a.c (dg-options): Ditto.
+       * gcc.target/x86_64/abi/callabi/vaarg-5b.c (dg-options): Ditto.
+
 2013-12-15  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/59493
index bc6e0d23c7d19ed2fa9b6b384f06238f90d2f008..b64add14e6bf453ddde9e3707391f48387491e79 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2 -mavx -mabi=ms -mtune=generic -dp" } */
+/* { dg-options "-O2 -mavx -mabi=ms -maccumulate-outgoing-args -dp" } */
 
 typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
 
index 5d3aa48397c89ae89a91a0f6f11a2e344ad02b64..16d29958c7ebf2870a6f478cc93beaa25126bf5f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2 -mavx -mabi=ms -mtune=generic -dp" } */
+/* { dg-options "-O2 -mavx -mabi=ms -maccumulate-outgoing-args -dp" } */
 
 typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
 
index 06307525d4614cf91816fb321aac7165f9f1f41c..4dcb00f6f114cb66ac850f7ccbf0ddc7fc78b656 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O0 -mavx -mabi=ms -mtune=generic -dp" } */
+/* { dg-options "-O0 -mavx -mabi=ms -maccumulate-outgoing-args -dp" } */
 
 typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
 
index 2896a1a52c37ed69055c17f5646f7cc881887dbe..2d87ddfb5d967b942ad3ad7564f28d1d801c667d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -maccumulate-outgoing-args" } */
 
 void __attribute__ ((ms_abi)) foo (void)
 {
index 4157db1d16854248e0b3cb638e6c9d5283eeac6c..fbcd4d97ad9806e1a6d37ad7747a0bf5fe2c4205 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile { target lp64 } } */
+/* { dg-options "-maccumulate-outgoing-args" } */
 
 int __attribute__((__noinline__))
 bugged(float f1, float f2, float f3, float f4,
index dfa6b8b50959cfe19b205ede633f85908ba368ba..91b4f5402e66a22c3956f8b6674f74afc30de64f 100644 (file)
@@ -1,6 +1,6 @@
 /* PR rtl-optimization/57003 */
 /* { dg-do run } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -maccumulate-outgoing-args" } */
 
 #define N 2001
 unsigned short *b, *c, *d;
index 7d0b5063637b2c67447d0e15916937e69acfd85f..36645bdc3316157b61898e512e57d0328346d35a 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -ffast-math" } */
+/* { dg-options "-std=gnu99 -ffast-math -maccumulate-outgoing-args" } */
 #include "callabi.h"
 
 extern void abort (void);
index 048da6e56ac6fad10a80fd9333da74c2ea64de8b..3b26da6312c1a95d13a08f4c72058940ed012bb9 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi standard calls.  */
 /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
 /* { dg-additional-sources "func-2b.c" } */
 
 extern void __attribute__ ((sysv_abi)) abort (void);
index fe85dd1860d2b2495ead3e392bb02858cc8f8bfb..0665665e44a92d5022a72b83798be81a0ed7e3ac 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for cross x86_64<->w64 abi standard calls.  */
-/* { dg-options "-mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
+/* { dg-options "-mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
 
 long double func_cross (long double a, double b, float c, long d, int e,
                        char f)
index 730b8db9c1f9c0baa9540d5a541dc8811289e9c1..ab124660518f7da427595689614908de421c2c7c 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi standard calls via variable.  */
 /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
 /* { dg-additional-sources "func-indirect-2b.c" } */
 
 extern void __attribute__ ((sysv_abi)) abort (void);
index 1a9fccd97f6a2f8194f3d205d39e8a13e6c32ee5..6d154364a7735d232d85d271bc9a3d833da74b20 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for cross x86_64<->w64 abi standard calls via variable.  */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
 
 typedef int (*func)(void *, char *, char *, short, long long);
 
index 0c0cbb271cad9107d6252bb6295a4edb29fa7f09..1b77a00db6729d76ab2ea8613d1ea94031841bbd 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -ffast-math" } */
+/* { dg-options "-std=gnu99 -ffast-math -maccumulate-outgoing-args" } */
 #include "callabi.h"
 
 extern void abort (void);
index 35f8b53cac1e876c9145ff1cd8334e9bbaa9db40..027134f6c5b57a7813e69496ce171de7cf2a8c37 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mabi=sysv" } */
+/* { dg-options "-O2 -mabi=sysv -maccumulate-outgoing-args" } */
 
 __attribute__ ((ms_abi))
 int foo (void)
index 2a54bc89cfc2abb5204228182aaed42013036988..93b1f64d65ab70d68ddd956cc16872ecf9575922 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mabi=sysv" } */
+/* { dg-options "-O2 -mabi=sysv -maccumulate-outgoing-args" } */
 
 extern int glb1, gbl2, gbl3;
 
index d31b8c3774cb81e97969afd88260f6e4d2013c07..e3503d3582ac19c2797c07f36ddf7fd9b9f194ec 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for cross x86_64<->w64 abi standard calls.
 */
 /* { dg-do compile } */
-/* { dg-options "-mno-sse" } */
+/* { dg-options "-mno-sse -maccumulate-outgoing-args" } */
 #include "callabi.h"
 
 long double
index a6d8463ed5c386bd3530ef653a46715c95c71f31..2be8a9900906a41eca8a2483b52ebeadf91f8da7 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99" } */
+/* { dg-options "-std=gnu99 -maccumulate-outgoing-args" } */
 #include "callabi.h"
 
 extern __SIZE_TYPE__ strlen (const char *);
index e281e860f780bdfc628b51e07db07212b88bcc2b..c6399457918f80f61e7e295024c2f63eb60b7c3b 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99" } */
+/* { dg-options "-std=gnu99 -maccumulate-outgoing-args" } */
 #include "callabi.h"
 
 extern void abort (void);
index 7cca7ac871806862b4315100f2f0eb4e15c0b330..366d696cf326dd7511b20d4acece021940e39ed3 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99" } */
+/* { dg-options "-std=gnu99 -maccumulate-outgoing-args" } */
 #include "callabi.h"
 
 extern void abort (void);
index a44470431ffb9b2037854dc00fa3efc430105df2..ec63d5acfe31bc25f5595bbfed046e4938f1f6ef 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi va_list calls.  */
 /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin -maccumulate-outgoing-args" } */
 /* { dg-additional-sources "vaarg-4b.c" } */
 
 extern __SIZE_TYPE__ __attribute__ ((sysv_abi)) strlen (const char *);
index f33906bd29356b919a672e7256166761b4309141..444d19039ccd5b4d74bb4630146cf9444ca2eaa1 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for cross x86_64<->w64 abi va_list calls.  */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin -maccumulate-outgoing-args" } */
 
 #include <stdarg.h>
 
index e9912957e7c9b356c1446ab39c4aadef25511c3d..7e56e5d6bab142484a647f92f0edf0f92dc618a9 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi va_list calls.  */
 /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin -maccumulate-outgoing-args" } */
 /* { dg-additional-sources "vaarg-5b.c" } */
 
 extern void __attribute__ ((sysv_abi)) abort (void);
index e5dd4727bdd48545e9b2521375f11a2623a28332..c3de7143d448e15772241eaca174547884a62a5e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for cross x86_64<->w64 abi va_list calls.  */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin -maccumulate-outgoing-args" } */
 
 #include <stdarg.h>