From 0eee8eaa834181720cfb4e360a1c69d77c74b552 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 31 May 2019 07:23:14 +0000 Subject: [PATCH] c++, testsuite - require alias support for a test. The test for pr84497 uses a facility that requires alias support from the target, and therefore fails on targets without. Add a suitable dg-require statement. 2019-05-31 Iain Sandoe * g++.dg/cpp0x/pr84497.C: Require alias support. From-SVN: r271801 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/cpp0x/pr84497.C | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 677136516d3..341dc4c4ecc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-05-31 Iain Sandoe + + * g++.dg/cpp0x/pr84497.C: Require alias support. + 2019-05-31 Iain Sandoe * gcc.target/i386/falign-functions-3.c: Adjust align syntax diff --git a/gcc/testsuite/g++.dg/cpp0x/pr84497.C b/gcc/testsuite/g++.dg/cpp0x/pr84497.C index d44a779371a..7eb1aee474e 100644 --- a/gcc/testsuite/g++.dg/cpp0x/pr84497.C +++ b/gcc/testsuite/g++.dg/cpp0x/pr84497.C @@ -1,6 +1,7 @@ // PR 84497 mismatch with thread constructor fn weakness // { dg-do compile { target c++11 } } // { dg-require-weak "" } +// { dg-require-alias "" } // { dg-skip-if "No .weak" { { hppa*-*-hpux* } && { ! lp64 } } } struct Base -- 2.30.2