From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21440 invoked by alias); 14 May 2002 18:36: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 21396 invoked by uid 71); 14 May 2002 18:36:00 -0000 Resent-Date: 14 May 2002 18:36:00 -0000 Resent-Message-ID: <20020514183600.21395.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, santugi@dptmaths.ens-cachan.fr Received:(qmail 20694 invoked by uid 61); 14 May 2002 18:35:15 -0000 Message-Id:<20020514183515.20693.qmail@sources.redhat.com> Date: Tue, 14 May 2002 11:36:00 -0000 From: santugi@dptmaths.ens-cachan.fr Reply-To: santugi@dptmaths.ens-cachan.fr To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6659: segfault if constructor of a nested template class is decalared with a return argument X-SW-Source: 2002-05/txt/msg00398.txt.bz2 List-Id: >Number: 6659 >Category: c++ >Synopsis: segfault if constructor of a nested template class is decalared with a return argument >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue May 14 11:36:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: santugi@dptmaths.ens-cachan.fr >Release: unknown-1.0 >Organization: >Environment: Freebsd 4.5 >Description: If a template class contains a nested class. The illegal declaration of a constructor of the latter can cause a segfault if the constructor is said to have a return value. >How-To-Repeat: compile the following with option -c template class A{ T a; class B{ T b; }; }; template A::B& A::B::B(const B& __B){} >Fix: >Release-Note: >Audit-Trail: >Unformatted: