From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11709 invoked by alias); 25 Feb 2003 15:46:00 -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 11687 invoked by uid 71); 25 Feb 2003 15:46:00 -0000 Resent-Date: 25 Feb 2003 15:46:00 -0000 Resent-Message-ID: <20030225154600.11686.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, ras@transversal.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, zak@transversal.com Received: (qmail 11031 invoked by uid 48); 25 Feb 2003 15:45:04 -0000 Message-Id: <20030225154504.11030.qmail@sources.redhat.com> Date: Tue, 25 Feb 2003 15:46:00 -0000 From: zak@transversal.com Reply-To: zak@transversal.com To: gcc-gnats@gcc.gnu.org Cc: ras@transversal.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: ras@transversal.com Subject: c++/9849: malformed template typename produces strange diagnostic X-SW-Source: 2003-02/txt/msg01328.txt.bz2 List-Id: >Number: 9849 >Category: c++ >Synopsis: malformed template typename produces strange diagnostic >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Feb 25 15:46:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: zak@transversal.com >Release: unknown-1.0 >Organization: >Environment: Debian (unstable); locally-compiled gcc 3.2.1 >Description: The following code produces the error: test.cc:8: sorry, not implemented: `tree_vec' not supported by dump_expr which isn't very helpful -- the problem is in fact a missing "template" keyword before C2. template struct C1 { template struct C2 { class Type { }; }; }; template void foo(typename C1::C2::Type *) { } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: