From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18516 invoked by alias); 30 Apr 2003 01:11:22 -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 18492 invoked by uid 48); 30 Apr 2003 01:11:21 -0000 Date: Wed, 30 Apr 2003 01:11:00 -0000 Message-ID: <20030430011121.18491.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, smueller@umich.edu From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, smueller@umich.edu, gcc-gnats@gcc.gnu.org Subject: Re: c++/10558: [3.3 regression] Segfault on illegal use of template without template args X-SW-Source: 2003-04/txt/msg01426.txt.bz2 List-Id: Old Synopsis: ICE in c_expand_expr in c-common.c:3715 New Synopsis: [3.3 regression] Segfault on illegal use of template without template args State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Wed Apr 30 01:11:21 2003 State-Changed-Why: Confirmed. Though the error happens even earlier (in a tree check function) if checking is enabled. Here's a smaller testcase: -------------------------- namespace NS { template struct C { template C (U); }; struct X { X(C); }; } NS::X x(NS::C); -------------------------- It crashes 3.3 as follows: g/x> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c x.cc x.cc:11: internal compiler error: Segmentation fault Please submit a full bug report, 3.4 gives a useful error message on this as well as the original testcase. 2.95 crashes on this one, but it doesn't crash on the original testcase, so this is a 3.3 (not 3.4) regression. W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10558