From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27404 invoked by alias); 28 Oct 2002 19:46:03 -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 27376 invoked by uid 71); 28 Oct 2002 19:46:02 -0000 Resent-Date: 28 Oct 2002 19:46:02 -0000 Resent-Message-ID: <20021028194602.27375.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@ticam.utexas.edu Received: (qmail 21591 invoked by uid 61); 28 Oct 2002 19:37:02 -0000 Message-Id: <20021028193702.21590.qmail@sources.redhat.com> Date: Mon, 28 Oct 2002 11:46:00 -0000 From: bangerth@ticam.utexas.edu Reply-To: bangerth@ticam.utexas.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/8385: ICE in mangle.c:write_type with typeof(...) as template arg X-SW-Source: 2002-10/txt/msg01171.txt.bz2 List-Id: >Number: 8385 >Category: c++ >Synopsis: ICE in mangle.c:write_type with typeof(...) as template arg >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Oct 28 11:46:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Wolfgang Bangerth >Release: unknown-1.0 >Organization: >Environment: gcc 3.3 CVS and 3.2.1 branch >Description: This triggers an ICE in write_type in cp/mangle.c, when using -g: -------------------------------------- int foo; template struct Base {}; template struct Derived : public Base {}; --------------------------------------- The message is: ------------------------------------------ tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -g x.cc x.cc: In instantiation of `Base<__typeof (foo)>': x.cc:6: instantiated from here x.cc:3: internal compiler error: in write_type, at cp/mangle.c:1492 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: