From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9586 invoked by alias); 20 Feb 2003 18:46: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 9572 invoked by uid 71); 20 Feb 2003 18:46:00 -0000 Date: Thu, 20 Feb 2003 18:46:00 -0000 Message-ID: <20030220184600.9571.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Steven Bosscher Subject: Re: c++/9778: [3.4 regression] ICE with sizeof(expr) in non-type template arg Reply-To: Steven Bosscher X-SW-Source: 2003-02/txt/msg01013.txt.bz2 List-Id: The following reply was made to PR c++/9778; it has been noted by GNATS. From: Steven Bosscher To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, bangerth@ticam.utexas.edu, gcc-prs@gcc.gnu.org Cc: Subject: Re: c++/9778: [3.4 regression] ICE with sizeof(expr) in non-type template arg Date: Thu, 20 Feb 2003 19:43:26 +0100 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9778 devphil says: : Search converges between 2003-01-16-trunk (#103) and 2003-01-17-trunk (#104). Line-numbered input is: ======================================== 1 namespace NS { 2 template void foo (); 3 } 4 5 template struct X { 6 int m; 7 int g () { 8 NS::foo(); 9 } 10 }; 11 12 template class X<2>; 13 ======================================== Diagnostic output follows, from the last compiler tested: input: In member function `int X::g() [with int N = 2]': input:12: instantiated from here input:8: 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" Greetz Steven