From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30190 invoked by alias); 11 May 2003 11:16:00 -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 30172 invoked by uid 71); 11 May 2003 11:16:00 -0000 Date: Sun, 11 May 2003 11:16:00 -0000 Message-ID: <20030511111600.30171.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Steven Bosscher Subject: Re: c++/10433: [3.4 regression] SegFault in type_unknown_p with sizeof Reply-To: Steven Bosscher X-SW-Source: 2003-05/txt/msg01072.txt.bz2 List-Id: The following reply was made to PR c++/10433; it has been noted by GNATS. From: Steven Bosscher To: gcc-gnats@gcc.gnu.org, jrumsey@blizzard.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org Cc: Subject: Re: c++/10433: [3.4 regression] SegFault in type_unknown_p with sizeof Date: Sun, 11 May 2003 13:07:11 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10433 Apparently another "New parser" problem. : Search converges between 2002-12-27-trunk (#85) and 2002-12-28-trunk (#86). Line-numbered input is: ======================================== 1 void foo(int); 2 3 template 4 struct X { 5 void bar() { 6 char c[1]; 7 foo(sizeof(c)); 8 } 9 }; 10 template struct X<1>; 11 ======================================== Diagnostic output follows, from the last compiler tested: input: In member function `void X< >::bar()': input:7: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Compiler output follows, from the last compiler tested: .file "input"