This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, trivial, testsuite] Fix testcase
- From: Maxim Kuvyrkov <maxim at codesourcery dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Janis Johnson <janis187 at us dot ibm dot com>
- Date: Tue, 03 Nov 2009 18:19:48 +0300
- Subject: [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)