Bug 58630 - [4.9 Regression] Revision 203171 breaks several MS-ABI tests
Summary: [4.9 Regression] Revision 203171 breaks several MS-ABI tests
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.9.0
: P1 normal
Target Milestone: 4.9.0
Assignee: Not yet assigned to anyone
URL: http://gcc.gnu.org/ml/gcc-patches/201...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-05 15:17 UTC by Dominique d'Humieres
Modified: 2014-02-11 18:59 UTC (History)
5 users (show)

See Also:
Host:
Target: i?86-*-* x86_64-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed: 2013-10-08 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique d'Humieres 2013-10-05 15:17:13 UTC
Revision 203171 breaks several MS-ABI tests:

FAIL: gcc.target/i386/pr43662.c (internal compiler error)
FAIL: gcc.target/i386/pr43662.c (test for excess errors)
FAIL: gcc.target/i386/pr43869.c (internal compiler error)
FAIL: gcc.target/i386/pr43869.c (test for excess errors)
FAIL: gcc.target/i386/pr57003.c (internal compiler error)
FAIL: gcc.target/i386/pr57003.c (test for excess errors)
FAIL: gcc.target/i386/pr9771-1.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/func-1.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/func-2a.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/func-indirect-2a.c (internal compiler error)
FAIL: gcc.target/x86_64/abi/callabi/func-indirect-2a.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/func-indirect.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/vaarg-1.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/vaarg-2.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/vaarg-3.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/vaarg-4a.c (test for excess errors)
FAIL: gcc.target/x86_64/abi/callabi/vaarg-5a.c (test for excess errors)

(see http://gcc.gnu.org/ml/gcc-regression/2013-10/msg00026.html or
http://gcc.gnu.org/ml/gcc-testresults/2013-10/msg00388.html ).

The failure for gcc.target/i386/pr9771-1.c is

[macbook] f90/bug% gfc -O2 -fomit-frame-pointer -ffixed-ebp /opt/gcc/work/gcc/testsuite/gcc.target/i386/pr9771-1.c -m32
/opt/gcc/work/gcc/testsuite/gcc.target/i386/pr9771-1.c: In function 'test':
/opt/gcc/work/gcc/testsuite/gcc.target/i386/pr9771-1.c:46:1: error: bp cannot be used in asm here
 }

and the others are of the kind

sorry, unimplemented: ms_abi attribute requires -maccumulate-outgoing-args or subtarget optimization implying it

Notes:

(1) Compiling the failing gcc.target/i386/pr4* and gcc.target/x86_64/abi/callabi/func-indirect-2a.c gives an ICE:

/opt/gcc/work/gcc/testsuite/gcc.target/i386/pr43662.c:20:9: internal compiler error: in expand_call, at calls.c:3153

or

internal compiler error: in expand_call, at calls.c:3453

for the others.

(2) Some tests are restricted to Linux but can be run on Darwin without failure.

(3) The following patch fixes the failures related to -maccumulate-outgoing-args

diff -up ../_clean/gcc/testsuite/gcc.target/i386/pr43662.c gcc/testsuite/gcc.target/i386/pr43662.c
--- ../_clean/gcc/testsuite/gcc.target/i386/pr43662.c	2011-08-01 14:36:41.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/pr43662.c	2013-10-05 16:51:56.000000000 +0200
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -maccumulate-outgoing-args" } */
 
 void __attribute__ ((ms_abi)) foo (void)
 {
diff -up ../_clean/gcc/testsuite/gcc.target/i386/pr43869.c gcc/testsuite/gcc.target/i386/pr43869.c
--- ../_clean/gcc/testsuite/gcc.target/i386/pr43869.c	2011-08-01 14:36:41.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/pr43869.c	2013-10-05 16:53:09.000000000 +0200
@@ -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,
diff -up ../_clean/gcc/testsuite/gcc.target/i386/pr57003.c gcc/testsuite/gcc.target/i386/pr57003.c
--- ../_clean/gcc/testsuite/gcc.target/i386/pr57003.c	2013-04-26 11:07:25.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/pr57003.c	2013-10-05 16:53:52.000000000 +0200
@@ -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;

diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c	2013-10-05 16:45:39.000000000 +0200
@@ -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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c	2013-10-05 16:46:00.000000000 +0200
@@ -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-do run { target i?86-*-* x86_64-*-* } } */
+/* { 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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c	2013-10-05 16:46:09.000000000 +0200
@@ -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)
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c	2013-10-05 16:46:36.000000000 +0200
@@ -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-do run { target i?86-*-* x86_64-*-* } } */
+/* { 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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c	2013-10-05 16:46:45.000000000 +0200
@@ -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);
 
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c	2013-10-05 16:46:55.000000000 +0200
@@ -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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c	2013-10-05 16:42:30.000000000 +0200
@@ -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 *);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c	2013-10-05 16:42:44.000000000 +0200
@@ -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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c	2013-10-05 16:42:54.000000000 +0200
@@ -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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c	2013-10-05 16:43:27.000000000 +0200
@@ -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-do run { target i?86-*-* x86_64-*-* } } */
+/* { 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 *);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c	2013-10-05 16:43:50.000000000 +0200
@@ -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>
 
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c	2013-10-05 16:44:16.000000000 +0200
@@ -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-do run { target i?86-*-* x86_64-*-* } } */
+/* { 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);
diff -up ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c
--- ../_clean/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c	2009-11-25 18:14:50.000000000 +0100
+++ gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c	2013-10-05 16:44:27.000000000 +0200
@@ -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>
Comment 1 Dominique d'Humieres 2013-10-08 06:40:56 UTC
Seen on x86_64-apple-darwin10 and x86_64-unknown-linux-gnu, thus confirmed.
Comment 2 Richard Biener 2013-11-05 14:48:04 UTC
ISTR Honza fixed sth in this area?
Comment 3 Dominique d'Humieres 2013-11-05 18:31:19 UTC
> ISTR Honza fixed sth in this area?

From http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg00289.html this has not been fixed at revision 204394.
Comment 4 Richard Biener 2013-11-19 09:56:47 UTC
Fixed as of http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01434.html at least.
Comment 5 Dominique d'Humieres 2013-11-19 11:47:08 UTC
Sorry still present at revision 205008: see http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01438.html or http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01440.html (r204983).

The difference in behavior may depend on the configure options, but I did not find what could be relevant.
Comment 6 H.J. Lu 2013-11-19 12:20:59 UTC
(In reply to Dominique d'Humieres from comment #5)
> Sorry still present at revision 205008: see
> http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01438.html or
> http://gcc.gnu.org/ml/gcc-testresults/2013-11/msg01440.html (r204983).
> 
> The difference in behavior may depend on the configure options, but I did
> not find what could be relevant.

They show up when configured with --with-arch=core2 --with-cpu=core2.
Comment 7 Richard Biener 2013-11-21 14:31:31 UTC
Confirmed.
Comment 8 Uroš Bizjak 2013-12-15 12:22:53 UTC
This is a testsuite bug. ms_abi option requires -maccumulate-outgoung-args, and this is documented in option documentation. The patch adds new target tuning option that avoids setting this flag for certain targets (i.e. corei7) automatically. The ms-abi test cases must set this option in any case.
Comment 9 Uroš Bizjak 2013-12-15 12:25:19 UTC
Author: uros
Date: Sun Dec 15 11:20:53 2013
New Revision: 205998

URL: http://gcc.gnu.org/viewcvs?rev=205998&root=gcc&view=rev
Log:
	* 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.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/avx-vzeroupper-16.c
    trunk/gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c
    trunk/gcc/testsuite/gcc.target/i386/avx-vzeroupper-18.c
    trunk/gcc/testsuite/gcc.target/i386/pr43662.c
    trunk/gcc/testsuite/gcc.target/i386/pr43869.c
    trunk/gcc/testsuite/gcc.target/i386/pr57003.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-1.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-2.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/pr38891.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c
    trunk/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c
Comment 10 uros 2013-12-15 18:16:43 UTC
Author: uros
Date: Sun Dec 15 18:16:40 2013
New Revision: 206001

URL: http://gcc.gnu.org/viewcvs?rev=206001&root=gcc&view=rev
Log:
	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.


Modified:
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/avx-vzeroupper-16.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/avx-vzeroupper-18.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr43662.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr43869.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr57003.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-1.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2b.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2a.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect-2b.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-indirect.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-1.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/leaf-2.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/pr38891.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-1.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-2.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-3.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4a.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-4b.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5a.c
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/x86_64/abi/callabi/vaarg-5b.c
Comment 11 Uroš Bizjak 2013-12-15 18:17:39 UTC
Tests are fixed.
Comment 12 uros 2014-02-11 18:59:56 UTC
Author: uros
Date: Tue Feb 11 18:59:24 2014
New Revision: 207697

URL: http://gcc.gnu.org/viewcvs?rev=207697&root=gcc&view=rev
Log:
	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.


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