]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/59927 (ICE sorry, unimplemented: ms_abi attribute requires -maccumulate...
authorUros Bizjak <ubizjak@gmail.com>
Tue, 11 Feb 2014 18:59:24 +0000 (19:59 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 11 Feb 2014 18:59:24 +0000 (19:59 +0100)
PR target/59927
Revert
2013-12-15  Uros Bizjak  <ubizjak@gmail.com>

PR testsuite/58630
* 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: r207697

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 66436ec2f72f3626235d8f32741924e71634ffb5..6d3743afddb79116d99145aecedb2d06f498833f 100644 (file)
@@ -1,3 +1,36 @@
+2014-02-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/59927
+       Revert
+       2013-12-15  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR testsuite/58630
+       * 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.
+
 2014-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * gcc.dg/vect/pr56787.c: Mark as xfail for vect_no_align.
index b64add14e6bf453ddde9e3707391f48387491e79..66c8446686cf718b227214e760160a3c1dab96ac 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2 -mavx -mabi=ms -maccumulate-outgoing-args -dp" } */
+/* { dg-options "-O2 -mavx -mabi=ms -dp" } */
 
 typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
 
index 16d29958c7ebf2870a6f478cc93beaa25126bf5f..acb432945ec1cb782df828ff8eaf5614675dc75b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2 -mavx -mabi=ms -maccumulate-outgoing-args -dp" } */
+/* { dg-options "-O2 -mavx -mabi=ms -dp" } */
 
 typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
 
index 4dcb00f6f114cb66ac850f7ccbf0ddc7fc78b656..6f67f3ee322fa7d696a5ed4891955d6d6a62cbfc 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O0 -mavx -mabi=ms -maccumulate-outgoing-args -dp" } */
+/* { dg-options "-O0 -mavx -mabi=ms -dp" } */
 
 typedef float __m256 __attribute__ ((__vector_size__ (32), __may_alias__));
 
index 2d87ddfb5d967b942ad3ad7564f28d1d801c667d..2896a1a52c37ed69055c17f5646f7cc881887dbe 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2 -maccumulate-outgoing-args" } */
+/* { dg-options "-O2" } */
 
 void __attribute__ ((ms_abi)) foo (void)
 {
index fbcd4d97ad9806e1a6d37ad7747a0bf5fe2c4205..4157db1d16854248e0b3cb638e6c9d5283eeac6c 100644 (file)
@@ -1,5 +1,4 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-maccumulate-outgoing-args" } */
 
 int __attribute__((__noinline__))
 bugged(float f1, float f2, float f3, float f4,
index 91b4f5402e66a22c3956f8b6674f74afc30de64f..dfa6b8b50959cfe19b205ede633f85908ba368ba 100644 (file)
@@ -1,6 +1,6 @@
 /* PR rtl-optimization/57003 */
 /* { dg-do run } */
-/* { dg-options "-O2 -maccumulate-outgoing-args" } */
+/* { dg-options "-O2" } */
 
 #define N 2001
 unsigned short *b, *c, *d;
index 36645bdc3316157b61898e512e57d0328346d35a..7d0b5063637b2c67447d0e15916937e69acfd85f 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -ffast-math -maccumulate-outgoing-args" } */
+/* { dg-options "-std=gnu99 -ffast-math" } */
 #include "callabi.h"
 
 extern void abort (void);
index c41354942830a3211d9cfd60dd09c5c9be568f37..513f5619a2ee58d5b94e7d4489d0f52bbcf0823a 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi standard calls.  */
 /* { dg-do run } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
 /* { dg-additional-sources "func-2b.c" } */
 
 extern void __attribute__ ((sysv_abi)) abort (void);
index 0665665e44a92d5022a72b83798be81a0ed7e3ac..fe85dd1860d2b2495ead3e392bb02858cc8f8bfb 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 -maccumulate-outgoing-args" } */
+/* { dg-options "-mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
 
 long double func_cross (long double a, double b, float c, long d, int e,
                        char f)
index f8a4d78b619f7484f1c3b6171bd3eccb894d004e..e1ff8f83374653b19dd244adbd224c22a7ee3212 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi standard calls via variable.  */
 /* { dg-do run } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
 /* { dg-additional-sources "func-indirect-2b.c" } */
 
 extern void __attribute__ ((sysv_abi)) abort (void);
index 6d154364a7735d232d85d271bc9a3d833da74b20..1a9fccd97f6a2f8194f3d205d39e8a13e6c32ee5 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 -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -ffast-math -fno-builtin" } */
 
 typedef int (*func)(void *, char *, char *, short, long long);
 
index 1b77a00db6729d76ab2ea8613d1ea94031841bbd..0c0cbb271cad9107d6252bb6295a4edb29fa7f09 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -ffast-math -maccumulate-outgoing-args" } */
+/* { dg-options "-std=gnu99 -ffast-math" } */
 #include "callabi.h"
 
 extern void abort (void);
index 027134f6c5b57a7813e69496ce171de7cf2a8c37..35f8b53cac1e876c9145ff1cd8334e9bbaa9db40 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mabi=sysv -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=sysv" } */
 
 __attribute__ ((ms_abi))
 int foo (void)
index 93b1f64d65ab70d68ddd956cc16872ecf9575922..2a54bc89cfc2abb5204228182aaed42013036988 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mabi=sysv -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=sysv" } */
 
 extern int glb1, gbl2, gbl3;
 
index e3503d3582ac19c2797c07f36ddf7fd9b9f194ec..d31b8c3774cb81e97969afd88260f6e4d2013c07 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for cross x86_64<->w64 abi standard calls.
 */
 /* { dg-do compile } */
-/* { dg-options "-mno-sse -maccumulate-outgoing-args" } */
+/* { dg-options "-mno-sse" } */
 #include "callabi.h"
 
 long double
index 2be8a9900906a41eca8a2483b52ebeadf91f8da7..a6d8463ed5c386bd3530ef653a46715c95c71f31 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -maccumulate-outgoing-args" } */
+/* { dg-options "-std=gnu99" } */
 #include "callabi.h"
 
 extern __SIZE_TYPE__ strlen (const char *);
index c6399457918f80f61e7e295024c2f63eb60b7c3b..e281e860f780bdfc628b51e07db07212b88bcc2b 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -maccumulate-outgoing-args" } */
+/* { dg-options "-std=gnu99" } */
 #include "callabi.h"
 
 extern void abort (void);
index 366d696cf326dd7511b20d4acece021940e39ed3..7cca7ac871806862b4315100f2f0eb4e15c0b330 100644 (file)
@@ -2,7 +2,7 @@
 */
 /* Origin: Kai Tietz <kai.tietz@onevision.com> */
 /* { dg-do run } */
-/* { dg-options "-std=gnu99 -maccumulate-outgoing-args" } */
+/* { dg-options "-std=gnu99" } */
 #include "callabi.h"
 
 extern void abort (void);
index 94f287d964b3a3ed72b3b4bd5eea689343be2ea1..36bd3483f6af114a29cd53a8abe52facc2d8ac25 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi va_list calls.  */
 /* { dg-do run } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
 /* { dg-additional-sources "vaarg-4b.c" } */
 
 extern __SIZE_TYPE__ __attribute__ ((sysv_abi)) strlen (const char *);
index 444d19039ccd5b4d74bb4630146cf9444ca2eaa1..f33906bd29356b919a672e7256166761b4309141 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 -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
 
 #include <stdarg.h>
 
index fc79877d174e7354807054af95a1849a63e3ea69..fa85677797b82b9d05764ad3b7aba767c8a41dcb 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for cross x86_64<->w64 abi va_list calls.  */
 /* { dg-do run } */
-/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
 /* { dg-additional-sources "vaarg-5b.c" } */
 
 extern void __attribute__ ((sysv_abi)) abort (void);
index c3de7143d448e15772241eaca174547884a62a5e..e5dd4727bdd48545e9b2521375f11a2623a28332 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 -maccumulate-outgoing-args" } */
+/* { dg-options "-O2 -mabi=ms -std=gnu99 -fno-builtin" } */
 
 #include <stdarg.h>