From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31462 invoked by alias); 1 May 2003 20:56:02 -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 31408 invoked by uid 71); 1 May 2003 20:56:01 -0000 Resent-Date: 1 May 2003 20:56:01 -0000 Resent-Message-ID: <20030501205601.31407.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 Resent-Reply-To: gcc-gnats@gcc.gnu.org, bangerth@dealii.org Received: (qmail 17085 invoked by uid 48); 1 May 2003 19:28:41 -0000 Message-Id: <20030501192841.17083.qmail@sources.redhat.com> Date: Thu, 01 May 2003 20:56:00 -0000 From: bangerth@dealii.org Reply-To: bangerth@dealii.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10586: [3.4 regression] ICE in make_typename_type with "typename typeof(x)::T" X-SW-Source: 2003-05/txt/msg00067.txt.bz2 List-Id: >Number: 10586 >Category: c++ >Synopsis: [3.4 regression] ICE in make_typename_type with "typename typeof(x)::T" >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu May 01 20:56:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Wolfgang Bangerth >Release: unknown-1.0 >Organization: >Environment: present 3.4 CVS >Description: This is of course bogus: ------------------------- int foo () { typename typeof(int)::X q; } ------------------------- This got us just an error until 3.3, but now ICEs: g/x> /home/bangerth/bin/gcc-3.4-pre/bin/bin/c++ -c x.cc x.cc: In function `int foo()': x.cc:3: error: using `typename' outside of template x.cc:3: error: expected nested-name-specifier x.cc:3: error: expected identifier x.cc:3: internal compiler error: in make_typename_type, at cp/decl.c:5456 Please submit a full bug report, >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: