From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18947 invoked by alias); 13 Apr 2002 04:00:43 -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 18927 invoked by uid 61); 13 Apr 2002 04:00:41 -0000 Date: Fri, 12 Apr 2002 21:00:00 -0000 Message-ID: <20020413040041.18926.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, roel@science.uva.nl From: rodrigc@gcc.gnu.org Reply-To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, roel@science.uva.nl, gcc-gnats@gcc.gnu.org Subject: Re: c++/5538: c++ internal compiler error in subst_stack_regs_pat, at reg-stack.c: 1397 X-SW-Source: 2002-04/txt/msg00708.txt.bz2 List-Id: Synopsis: c++ internal compiler error in subst_stack_regs_pat, at reg-stack.c: 1397 State-Changed-From-To: open->feedback State-Changed-By: rodrigc State-Changed-When: Fri Apr 12 21:00:40 2002 State-Changed-Why: Compile your testcase with: -Wall -pedantic You will get a lot of hints as to why this code is crashing the compiler. lbgk.cc: In member function `double LBGK::StopTracerInformationSlave()': lbgk.cc:1221: warning: control reaches end of non-void function lbgk.cc:1221: Internal compiler error in subst_stack_regs_pat, at reg-stack.c: 1441 If you add: return 0; in LBGK::StopTracerInformationSlave(); then the ICE goes away. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5538