From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19976 invoked by alias); 1 Dec 2002 09: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 19960 invoked by uid 71); 1 Dec 2002 09:46:02 -0000 Date: Sun, 01 Dec 2002 01:46:00 -0000 Message-ID: <20021201094602.19959.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Paolo Carlini Subject: Re: c++/8772: Segmentation fault on 3 lines of template code Reply-To: Paolo Carlini X-SW-Source: 2002-12/txt/msg00000.txt.bz2 List-Id: The following reply was made to PR c++/8772; it has been noted by GNATS. From: Paolo Carlini To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, sneechy@hotmail.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, Zack Weinberg Cc: Subject: Re: c++/8772: Segmentation fault on 3 lines of template code Date: Sun, 01 Dec 2002 10:38:59 +0100 Most probably illegal. EDG-based compilers emit: "8772.cc", line 3: error: nontype "A<>::B [with =n]" is not a class template template struct D { enum { v = C::B>::v }; }; ^ "8772.cc", line 2: error: incomplete type is not allowed template