From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7964 invoked by alias); 30 Jul 2002 21:56:02 -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 7922 invoked by uid 71); 30 Jul 2002 21:56:00 -0000 Resent-Date: 30 Jul 2002 21:56:00 -0000 Resent-Message-ID: <20020730215600.7921.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, icegibbon@hotmail.com Received: (qmail 1985 invoked by uid 61); 30 Jul 2002 21:46:43 -0000 Message-Id: <20020730214643.1984.qmail@sources.redhat.com> Date: Tue, 30 Jul 2002 14:56:00 -0000 From: icegibbon@hotmail.com Reply-To: icegibbon@hotmail.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7447: Optimizing crashes g++ when missing return statement X-SW-Source: 2002-07/txt/msg00792.txt.bz2 List-Id: >Number: 7447 >Category: c++ >Synopsis: Optimizing crashes g++ when missing return statement >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Jul 30 14:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: guest >Release: 3.0.2 >Organization: >Environment: Debian Linux >Description: g++ 3.0.2 crashes with this error when attempting to compile: testit.c: In function `double foo(int)': testit.c:6: Internal compiler error in subst_stack_regs_pat, at reg-stack.c: 1397 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Issue this command on the test file g++ -O2 -c testit.c -o testit.o >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="testit.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="testit.c" ZXh0ZXJuIGludCBmb28yKGludCBpZCk7Cgpkb3VibGUgZm9vKGludCB4KQp7CiAgICBpbnQgaSA9 IGZvbzIoeCk7Cn0K