From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1418 invoked by alias); 17 Jan 2004 04:13:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1408 invoked by uid 48); 17 Jan 2004 04:13:44 -0000 Date: Sat, 17 Jan 2004 04:13:00 -0000 Message-ID: <20040117041344.1406.qmail@sources.redhat.com> From: "giovannibajo at libero dot it" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040116214909.13714.marcus@jet.franken.de> References: <20040116214909.13714.marcus@jet.franken.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13714] destructor name `const s' does not match type `const s' of expression X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01956.txt.bz2 List-Id: ------- Additional Comments From giovannibajo at libero dot it 2004-01-17 04:13 ------- There are a few open DRs in the standard about name lookup for pseudo destructor calls, I'll have to review those. But I know they are about relaxing the requirements. The pure standard however says that the pseudo destructor name is looked up in the scope of the nested name specifier in the postfix expression. This makes your testcase obviously well-formed, so, as a first approximation, this is a rejects-valid. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords|diagnostic |rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13714