This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch testsuite]: g++.dg/abi
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Mar 2014 14:16:16 +0100
- Subject: [patch testsuite]: g++.dg/abi
- Authentication-results: sourceware.org; auth=none
Hi,
this patch skips anon2.C and anon3.C test for mingw target. Issue
here is that weak under pe-coff is different to ELF-targets and
therefore test doesn't apply for
FAIL: g++.dg/abi/anon2.C -std=c++11 scan-assembler
.weak(_definition)?[ \t]_?_ZN2N11D1C3fn1ENS0_1BE
FAIL: g++.dg/abi/anon2.C -std=c++11 scan-assembler
.weak(_definition)?[ \t]_?_ZN2N11D1C3fn2ES1_
FAIL: g++.dg/abi/anon2.C -std=c++11 scan-assembler
.weak(_definition)?[ \t]_?_ZN2N31D1CIiE3fn1ENS0_1BE
FAIL: g++.dg/abi/anon2.C -std=c++11 scan-assembler
.weak(_definition)?[ \t]_?_ZN2N31D1CIiE3fn2ES2_
FAIL: g++.dg/abi/anon2.C -std=c++1y scan-assembler
.weak(_definition)?[ \t]_?_ZN2N11D1C3fn1ENS0_1BE
FAIL: g++.dg/abi/anon2.C -std=c++1y scan-assembler
.weak(_definition)?[ \t]_?_ZN2N11D1C3fn2ES1_
...
ChangeLog
2014-03-18 Kai Tietz <ktietz@redhat.com>
* g++.dg/abi/anon2.C: Skip for mingw targets.
* g++.dg/abi/anon3.C: Likewise.
Tested for x86_64-unknown-linux-gnu, and i686-w64-mingw32. Ok for apply?
Regards,
Kai
Index: anon2.C
===================================================================
--- anon2.C (Revision 208594)
+++ 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: anon3.C
===================================================================
--- anon3.C (Revision 208594)
+++ 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" } }