From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32470 invoked by alias); 15 May 2003 04:36: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 32448 invoked by uid 71); 15 May 2003 04:36:00 -0000 Resent-Date: 15 May 2003 04:36:00 -0000 Resent-Message-ID: <20030515043600.32447.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, aaronl@vitelus.com Received: (qmail 14413 invoked by uid 48); 15 May 2003 04:28:00 -0000 Message-Id: <20030515042800.14412.qmail@sources.redhat.com> Date: Thu, 15 May 2003 04:36:00 -0000 From: aaronl@vitelus.com Reply-To: aaronl@vitelus.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: middle-end/10795: ICE in extract_insn, at recog.c:2188 X-SW-Source: 2003-05/txt/msg01755.txt.bz2 List-Id: >Number: 10795 >Category: middle-end >Synopsis: ICE in extract_insn, at recog.c:2188 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Thu May 15 04:36:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: aaronl@vitelus.com >Release: 3.4 20030515 >Organization: >Environment: Debian GNU/Linux i386 >Description: GCC 3.4 from CVS is ICEing on a source file. I distilled the function down to a testcase: typedef struct { unsigned int flags; } S; extern const char a[]; void foo(const char *e, S *s) { s->flags = 0; if (e > a) s->flags = 2; } gcc -Wall -O -c dump.c emits: dump.c: In function `foo': dump.c:12: error: unrecognizable insn: (insn 26 5 27 0 0x402face4 (set (reg:CC 17 flags) (compare:CC (symbol_ref:SI ("a") [flags 0x40] ) (reg/v/f:SI 58 [ e ]))) -1 (insn_list 3 (nil)) (expr_list:REG_DEAD (reg/v/f:SI 58 [ e ]) (nil))) dump.c:12: internal compiler error: in extract_insn, at recog.c:2188 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. The ICE does not happen when optimization is turned off. >How-To-Repeat: Compile the supplied testcase. >Fix: >Release-Note: >Audit-Trail: >Unformatted: