From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1477 invoked by alias); 15 Mar 2002 15:16:06 -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 1432 invoked by uid 71); 15 Mar 2002 15:16:03 -0000 Resent-Date: 15 Mar 2002 15:16:02 -0000 Resent-Message-ID: <20020315151602.1430.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, reichelt@igpm.rwth-aachen.de Received:(qmail 28051 invoked by uid 61); 15 Mar 2002 15:09:52 -0000 Message-Id:<20020315150952.28050.qmail@sources.redhat.com> Date: Fri, 15 Mar 2002 07:16:00 -0000 From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/5975: ICE with typedefs and templates X-SW-Source: 2002-03/txt/msg00519.txt.bz2 List-Id: >Number: 5975 >Category: c++ >Synopsis: ICE with typedefs and templates >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Fri Mar 15 07:16:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Volker Reichelt >Release: gcc 3.1 20020311 (prerelease) >Organization: >Environment: mips-sgi-irix6.5, i686-pc-linux-gnu >Description: The following line of code causes an ICE: --------------------snip here------------- typedef typename X::Y<> y; --------------------snip here------------- The error message is bug.cpp:1: `X' is not a class or namespace bug.cpp:1: tree check: expected class 't', have 'x' (identifier_node) in make_typename_type, at cp/decl.c:5669 Please submit a full bug report, [etc.] This is a regression from gcc 3.0.x. >How-To-Repeat: g++ -c bug.cpp >Fix: >Release-Note: >Audit-Trail: >Unformatted: