From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13841 invoked by alias); 29 Jan 2002 13:36:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13782 invoked by uid 71); 29 Jan 2002 13:36:03 -0000 Resent-Date: 29 Jan 2002 13:36:03 -0000 Resent-Message-ID: <20020129133603.13779.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, coola@ngs.ru Received:(qmail 12690 invoked from network); 29 Jan 2002 13:29:33 -0000 Received: from unknown (HELO localhost.localdomain) (217.70.109.144) by sources.redhat.com with SMTP; 29 Jan 2002 13:29:33 -0000 Received: (from coola@localhost) by localhost.localdomain (8.9.3/8.9.3) id TAA03139; Tue, 29 Jan 2002 19:03:31 +0600 Message-Id:<200201291303.TAA03139@localhost.localdomain> Date: Tue, 29 Jan 2002 05:36:00 -0000 From: "Andrey R. Urazov" Reply-To: coola@ngs.ru To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:3.113 Subject: c++/5529: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates X-SW-Source: 2002-01/txt/msg01027.txt.bz2 List-Id: >Number: 5529 >Category: c++ >Synopsis: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jan 29 05:36:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andrey R. Urazov >Release: 3.0.3 >Organization: student of Novosibirsk State Technical University >Environment: System: Linux localhost 2.2.14-5.0 #19 Tue Jul 24 02:12:27 NOVST 2001 i586 unknown Architecture: i586 host: i586-pc-linux-gnu build: i586-pc-linux-gnu target: i586-pc-linux-gnu configured with: ../gcc-3.0.3/configure --enable-languages=c,c++ --disable-nls >Description: Instead of reporting that partial template specializatins are not allowed for member function templates, gcc outputs an unclear message: template_test.cpp:5: sorry, not implemented: `component_ref' not supported by dump_decl template_test.cpp:5: partial specialization `' of function template >How-To-Repeat: struct Policy {}; struct B { template int getval(); template int getval(); }; >Fix: fix dump_decl :) >Release-Note: >Audit-Trail: >Unformatted: