From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16044 invoked by alias); 1 Apr 2011 16:28:18 -0000 Received: (qmail 16033 invoked by uid 22791); 1 Apr 2011 16:28:16 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Apr 2011 16:28:12 +0000 Received: (qmail 10721 invoked from network); 1 Apr 2011 16:28:11 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Apr 2011 16:28:11 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: FAIL: gdb.cp/cpexprs.exp: list base::overload(void) Date: Fri, 01 Apr 2011 16:28:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.6.1; x86_64; ; ) Cc: Keith Seitz References: <201104011609.07889.pedro@codesourcery.com> <4D95F4FA.9080508@redhat.com> <201104011709.18693.pedro@codesourcery.com> In-Reply-To: <201104011709.18693.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104011728.09202.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00012.txt.bz2 On Friday 01 April 2011 17:09:18, Pedro Alves wrote: > > or remove them altogether and add a bugzilla entry to track this. > > Yeah, I'll do this. This is now PR c++/12630. I've applied the patch now. Here it is again, now with CL entry. Thanks, -- Pedro Alves 2011-04-01 Pedro Alves gdb/testsuite/ * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the base::overload(void) method without specifying "const". --- gdb/testsuite/gdb.cp/cpexprs.exp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) Index: src/gdb/testsuite/gdb.cp/cpexprs.exp =================================================================== --- src.orig/gdb/testsuite/gdb.cp/cpexprs.exp 2011-04-01 15:52:15.339770000 +0100 +++ src/gdb/testsuite/gdb.cp/cpexprs.exp 2011-04-01 15:53:18.469770000 +0100 @@ -196,12 +196,7 @@ add {base::~base} \ - \ - -# Overloaded methods (all are const -- we try to use the void -# method with and without specifying "const") -add {base::overload(void)} \ - {int (const base * const)} \ - - \ - {base::overload(void) const} +# Overloaded methods (all are const) add {base::overload(void) const} \ {int (const base * const)} \ - \