From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27765 invoked by alias); 13 Nov 2001 17: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 27735 invoked by uid 71); 13 Nov 2001 17:36:02 -0000 Resent-Date: 13 Nov 2001 17:36:02 -0000 Resent-Message-ID: <20011113173602.27733.qmail@sourceware.cygnus.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 24034 invoked by uid 61); 13 Nov 2001 17:29:47 -0000 Message-Id:<20011113172946.24033.qmail@sourceware.cygnus.com> Date: Fri, 02 Nov 2001 07:21: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.2 (1.1.1.1.2.21) Subject: c++/4868: ICE when omitting template parameter of a sub-class X-SW-Source: 2001-11/txt/msg00046.txt.bz2 List-Id: >Number: 4868 >Category: c++ >Synopsis: ICE when omitting template parameter of a sub-class >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Tue Nov 13 09:36:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Volker Reichelt >Release: 2.95.3, 3.0.2, 3.1 (as of 20011023) >Organization: >Environment: i686-pc-linux-gnu, mips-sgi-irix6.5 >Description: The compiler crashes on the following 3 lines of code: struct A { template struct B; }; struct A::B {}; // illegal, A::B is a template A::B b; The error message is: bug.cpp: In instantiation of `A::B': bug.cpp:3: instantiated from here bug.cpp:2: Internal error: Segmentation fault Please submit a full bug report etc. >How-To-Repeat: g++ -c >Fix: >Release-Note: >Audit-Trail: >Unformatted: