[committed] Skip tests on 32-bit hppa*-*-hpux* that need .weak assembler directive

Message ID 2d1d3f42-0564-e362-df23-156527b8d9fa@bell.net
State New
Headers show
Series
  • [committed] Skip tests on 32-bit hppa*-*-hpux* that need .weak assembler directive
Related show

Commit Message

John David Anglin March 16, 2019, 6:25 p.m.
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.

Patch

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
 {