From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29490 invoked by alias); 22 Dec 2002 17:56: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 29470 invoked by uid 71); 22 Dec 2002 17:56:00 -0000 Resent-Date: 22 Dec 2002 17:56:00 -0000 Resent-Message-ID: <20021222175600.29469.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, renau@cs.uiuc.edu Received: (qmail 22741 invoked by uid 61); 22 Dec 2002 17:52:56 -0000 Message-Id: <20021222175256.22740.qmail@sources.redhat.com> Date: Sun, 22 Dec 2002 09:56:00 -0000 From: renau@cs.uiuc.edu Reply-To: renau@cs.uiuc.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/9037: [tree-ssa] -fssa-dce crashes with simple code X-SW-Source: 2002-12/txt/msg01221.txt.bz2 List-Id: >Number: 9037 >Category: optimization >Synopsis: [tree-ssa] -fssa-dce crashes with simple code >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Dec 22 09:56:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: renau@cs.uiuc.edu >Release: GNU C version 3.5-tree-ssa 20021217 (experimental) (i686-pc-linux-gnu) >Organization: >Environment: >Description: This is a bug in the tree-ssa branch (experimental). When I activate the -fssa -fssa-dce with -O1 (it does not happen without optimization -O0) gcc crashes. The output: ./cc1 -fpreprocessed pp.i -quiet -dumpbase pp.c -auxbase pp -O1 -version -fssa -fssa-dce -o pp.s GNU C version 3.5-tree-ssa 20021217 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 3.2 (Mandrake Linux 9.0 3.2-1mdk). /home/renau/tmp/pp.c: In function `vadd': /home/renau/tmp/pp.c:8: internal compiler error: RTL flag check: INSN_DEAD_CODE_P used with unexpected rtx code `note' in mark_all_insn_unnecessary, at ssa-dce.c:452 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. ne >How-To-Repeat: ./xgcc -v -save-temps -O1 -B. -fssa -fssa-dce -S ~/tmp/pp.c >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="pp.i" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pp.i" IyAxICIvaG9tZS9yZW5hdS90bXAvcHAuYyIKIyAxICI8YnVpbHQtaW4+IgojIDEgIjxjb21tYW5k IGxpbmU+IgojIDEgIi9ob21lL3JlbmF1L3RtcC9wcC5jIgoKCmludCB2YWRkKGludCAqQywgaW50 ICpBLCBpbnQgKkIpCnsKICAgICAgICBpbnQgaTsKCiAgICAgICAgZm9yKGk9MDtpPDEwMDtpKysp IHsKICAgICAgICAgICAgICAgIENbaV0gPSBBW2ldICsgQltpXTsKICAgICAgICB9Cn0K