diff mbox

[testsuite] : Fix gcc.target/i386/pr40906-1.c failure with new i386 defaults

Message ID AANLkTi=AM0x5W-J2en9xZNM-Z_8j+kx88foPgyAKT_2H@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Aug. 12, 2010, 6:19 p.m. UTC
Hello!

2010-08-12  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/i386/pr40906-1.c: Add -fno-asynchronous-unwind-tables
	to dg-options.
	* gcc.target/i386/pr40906-2.c: Ditto.
	* gcc.target/i386/pr40906-3.c: Ditto.

We now default to asynchronous unwind tables and these don't play well
with -mno-accumulate-outgoing-args.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN.

Uros.
diff mbox

Patch

Index: gcc.target/i386/pr40906-3.c
===================================================================
--- gcc.target/i386/pr40906-3.c	(revision 163197)
+++ gcc.target/i386/pr40906-3.c	(working copy)
@@ -1,7 +1,7 @@ 
 /* { dg-do run { target *-*-linux* } } */
 /* { dg-require-effective-target ilp32 } */
 /* { dg-require-effective-target sse2 } */
-/* { dg-options "-O2 -fomit-frame-pointer -msse2 -mpush-args -mno-accumulate-outgoing-args" } */
+/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -msse2 -mpush-args -mno-accumulate-outgoing-args" } */
 
 #include "sse2-check.h"
 
Index: gcc.target/i386/pr40906-2.c
===================================================================
--- gcc.target/i386/pr40906-2.c	(revision 163197)
+++ gcc.target/i386/pr40906-2.c	(working copy)
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-require-effective-target ilp32 } */
-/* { dg-options "-O2 -fomit-frame-pointer -mpush-args -mno-accumulate-outgoing-args -m128bit-long-double" } */
+/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpush-args -mno-accumulate-outgoing-args -m128bit-long-double" } */
 
 void abort (void);
 
Index: gcc.target/i386/pr40906-1.c
===================================================================
--- gcc.target/i386/pr40906-1.c	(revision 163197)
+++ gcc.target/i386/pr40906-1.c	(working copy)
@@ -1,6 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-require-effective-target ilp32 } */
-/* { dg-options "-O2 -fomit-frame-pointer -mpush-args -mno-accumulate-outgoing-args" } */
+/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpush-args -mno-accumulate-outgoing-args" } */
 
 void abort (void);
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 163197)
+++ ChangeLog	(working copy)
@@ -5,6 +5,13 @@ 
 
 2010-08-12  Uros Bizjak  <ubizjak@gmail.com>
 
+	* gcc.target/i386/pr40906-1.c: Add -fno-asynchronous-unwind-tables
+	to dg-options.
+	* gcc.target/i386/pr40906-2.c: Ditto.
+	* gcc.target/i386/pr40906-3.c: Ditto.
+
+2010-08-12  Uros Bizjak  <ubizjak@gmail.com>
+
 	* gcc.dg/profile-generate-3.c: Call dg-require-profiling with
 	empty argument.
 	* g++.dg/other/profile1.C: Ditto.