This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, trivial, testsuite] Fix testcase


I've checked in the following trivial patch to avoid a testcase falling over with "unsupported option combination" on several architectures.

Note: -funwind-tables is implied by -fnon-call-exceptions.

--
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724
2009-11-03  Andrew Stubbs  <ams@codesourcery.com>
	    Maxim Kuvyrkov  <maxim@codesourcery.com>

	* g++.dg/torture/pr36191.C: Don't run with -fomit-frame-pointer on
	sh, m68k and fido.
Index: gcc/testsuite/g++.dg/torture/pr36191.C
===================================================================
--- gcc/testsuite/g++.dg/torture/pr36191.C	(revision 153844)
+++ gcc/testsuite/g++.dg/torture/pr36191.C	(working copy)
@@ -1,6 +1,7 @@
 // PR c++/36191
 // { dg-do compile }
 // { dg-options "-fnon-call-exceptions" }
+// { dg-skip-if "Frame pointer required for unwind tables" { sh*-*-* m68k*-*-* fido*-*-* } "-fomit-frame-pointer" "" }
 
 __complex__ double
 foo (__complex__ double x, double y)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]