This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch g++.dg]: Disable some weak-tests for mingw-targets
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 28 Nov 2014 12:07:27 +0100
- Subject: [patch g++.dg]: Disable some weak-tests for mingw-targets
- Authentication-results: sourceware.org; auth=none
Hi,
this patch skips some test, which are trying to test non-existing
weak-variant for mingw-targets.
ChangeLog
2014-11-28 Kai Tietz <ktietz@redhat.com>
* g++.dg/abi/anon2.C: Skip for mingw targets.
* g++.dg/abi/anon3.C: Likewise.
* g++.dg/abi/thunk5.C: Likewise.
* g++.dg/abi/rtti1.C: Likewise.
Ok for apply?
Regards,
Kai
Index: g++.dg/abi/anon2.C
===================================================================
--- g++.dg/abi/anon2.C (Revision 218142)
+++ g++.dg/abi/anon2.C (Arbeitskopie)
@@ -1,5 +1,6 @@
// PR c++/55877
// { dg-require-weak "" }
+// { dg-skip-if "requires unsupported weak in pe-coff" { *-*-mingw* } }
namespace N1 {
typedef struct {
Index: g++.dg/abi/rtti1.C
===================================================================
--- g++.dg/abi/rtti1.C (Revision 218142)
+++ g++.dg/abi/rtti1.C (Arbeitskopie)
@@ -1,3 +1,4 @@
+// { dg-skip-if "unsupported for pe-coff" { *-*-mingw* } }
// Test that we don't emit the type_info for a polymorphic class other than
// with the vtable.
Index: g++.dg/abi/thunk5.C
===================================================================
--- g++.dg/abi/thunk5.C (Revision 218142)
+++ g++.dg/abi/thunk5.C (Arbeitskopie)
@@ -1,6 +1,7 @@
// PR c++/35067
// The thunks should be weak even on targets without one-only support.
// { dg-require-weak "" }
+// { dg-skip-if "requires unsupported weak in pe-coff" { *-*-mingw* } }
// { dg-final { scan-assembler "weak.*ZTv" } }
struct A
Index: g++.dg/abi/anon3.C
===================================================================
--- g++.dg/abi/anon3.C (Revision 218142)
+++ g++.dg/abi/anon3.C (Arbeitskopie)
@@ -1,4 +1,5 @@
// { dg-require-weak "" }
+// { dg-skip-if "requires unsupported weak in pe-coff" { *-*-mingw* } }
typedef struct {
// { dg-final { scan-assembler ".weak\(_definition\)?\[
\t\]_?_ZN4Heya4blahEv" } }