This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Skip tests on 32-bit hppa*-*-hpux* that need .weak assembler directive
- From: John David Anglin <dave dot anglin at bell dot net>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 16 Mar 2019 14:25:32 -0400
- Subject: [committed] Skip tests on 32-bit hppa*-*-hpux* that need .weak assembler directive
Committed to trunk.
Dave
--
John David Anglin dave.anglin@bell.net
2019-03-16 John David Anglin <danglin@gcc.gnu.org>
PR testsuite/89393
* g++.dg/abi/ref-temp1.C: Skip on 32-bit hppa*-*-hpux*.
* g++.dg/cpp0x/pr84497.C: Likewise.
Index: g++.dg/abi/ref-temp1.C
===================================================================
--- g++.dg/abi/ref-temp1.C (revision 269717)
+++ g++.dg/abi/ref-temp1.C (working copy)
@@ -1,5 +1,6 @@
// From ABI document
// { dg-do compile { target c++14 } }
+// { dg-skip-if "No .weak" { { hppa*-*-hpux* } && { ! lp64 } } }
// { dg-additional-options --save-temps }
struct A { const int (&x)[3]; };
Index: g++.dg/cpp0x/pr84497.C
===================================================================
--- g++.dg/cpp0x/pr84497.C (revision 269717)
+++ g++.dg/cpp0x/pr84497.C (working copy)
@@ -1,6 +1,6 @@
// PR 84497 mismatch with thread constructor fn weakness
// { dg-do compile { target c++11 } }
// { dg-require-weak "" }
+// { dg-skip-if "No .weak" { { hppa*-*-hpux* } && { ! lp64 } } }
struct Base
{