From 3b7f728384d6650e5336aeb1dbe92416efb3b63f Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 16 Mar 2019 18:10:31 +0000 Subject: [PATCH] re PR testsuite/89393 (FAIL: g++.dg/abi/ref-temp1.C -std=c++14 scan-assembler .weak(_definition)?[ \t]_?_ZGR1bIvE) PR testsuite/89393 * g++.dg/abi/ref-temp1.C: Skip on 32-bit hppa*-*-hpux*. * g++.dg/cpp0x/pr84497.C: Likewise. From-SVN: r269732 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/abi/ref-temp1.C | 1 + gcc/testsuite/g++.dg/cpp0x/pr84497.C | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 319f17be4fb..0141ba9bd3e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2019-03-16 John David Anglin + PR testsuite/89393 + * g++.dg/abi/ref-temp1.C: Skip on 32-bit hppa*-*-hpux*. + * g++.dg/cpp0x/pr84497.C: Likewise. + * c-c++-common/builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*. * gcc.dg/attr-copy-6.c: Likewise. * gcc.dg/pr87793.c: Likewise. diff --git a/gcc/testsuite/g++.dg/abi/ref-temp1.C b/gcc/testsuite/g++.dg/abi/ref-temp1.C index 887f4322286..c9963ca62f9 100644 --- a/gcc/testsuite/g++.dg/abi/ref-temp1.C +++ b/gcc/testsuite/g++.dg/abi/ref-temp1.C @@ -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]; }; diff --git a/gcc/testsuite/g++.dg/cpp0x/pr84497.C b/gcc/testsuite/g++.dg/cpp0x/pr84497.C index cb9d233bf71..cd7225319e8 100644 --- a/gcc/testsuite/g++.dg/cpp0x/pr84497.C +++ b/gcc/testsuite/g++.dg/cpp0x/pr84497.C @@ -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 { -- 2.30.2