This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]