From c22e84c2d0590da71054bca63ded94ddd2c83124 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 18 Feb 2019 20:25:55 +0000 Subject: [PATCH] Fix g++.dg/torture/pr89303.C with Solaris ld * g++.dg/torture/pr89303.C (bad_weak_ptr): Rename to bad_weak_ptr_. From-SVN: r268995 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/torture/pr89303.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 04f60aa0a89..fc03ecd6d9d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-18 Rainer Orth + + * g++.dg/torture/pr89303.C (bad_weak_ptr): Rename to + bad_weak_ptr_. + 2019-02-18 Thomas Koenig PR fortran/87689 diff --git a/gcc/testsuite/g++.dg/torture/pr89303.C b/gcc/testsuite/g++.dg/torture/pr89303.C index 94a0f90cd53..dbe8d05382e 100644 --- a/gcc/testsuite/g++.dg/torture/pr89303.C +++ b/gcc/testsuite/g++.dg/torture/pr89303.C @@ -350,11 +350,11 @@ namespace std { return static_cast(_M_addr()); } }; - class bad_weak_ptr { }; + class bad_weak_ptr_ { }; inline void __throw_bad_weak_ptr() - { (throw (bad_weak_ptr())); } + { (throw (bad_weak_ptr_())); } class _Sp_counted_base { -- 2.30.2