From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27499 invoked by alias); 11 Dec 2002 18:06:01 -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 27477 invoked by uid 71); 11 Dec 2002 18:06:01 -0000 Resent-Date: 11 Dec 2002 18:06:01 -0000 Resent-Message-ID: <20021211180601.27476.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, krblock@computer.org Received: (qmail 25809 invoked by uid 61); 11 Dec 2002 17:58:46 -0000 Message-Id: <20021211175846.25808.qmail@sources.redhat.com> Date: Wed, 11 Dec 2002 10:06:00 -0000 From: krblock@computer.org Reply-To: krblock@computer.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/8903: Internal error on friend directive in template X-SW-Source: 2002-12/txt/msg00644.txt.bz2 List-Id: >Number: 8903 >Category: c++ >Synopsis: Internal error on friend directive in template >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Dec 11 10:06:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: krblock@computer.org >Release: 3.2 >Organization: >Environment: Tested on Tru64 5.0A and RH7.1 on IA-64. >Description: cxxosf.zko.dec.com> g++ -c t.cxx t.cxx:5: Internal compiler error in pop_binding, at cp/decl.c:1187 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. cxxosf.zko.dec.com> g++ --version g++ (GCC) 3.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cxxosf.zko.dec.com> cat t.cxx template class X { typedef int Y; friend class Y; }; X i; >How-To-Repeat: I was able to reproduce this on Tru64 5.0A with the 3.2 and 3.0.4 released and on IA-64 RH7.1 with a 2.96 release. >Fix: >Release-Note: >Audit-Trail: >Unformatted: