From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17256 invoked by alias); 17 Mar 2006 10:37:46 -0000 Received: (qmail 17232 invoked by uid 48); 17 Mar 2006 10:37:43 -0000 Date: Fri, 17 Mar 2006 10:37:00 -0000 Subject: [Bug rtl-optimization/26725] New: ICE in check_reg_live, at haifa-sched.c:4645 with -O2 at IPF X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "grigory_zagorodnev at linux dot intel dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-03/txt/msg01778.txt.bz2 List-Id: GCC 4.2 revision 112135 failed to compile SPEC cpu2000/197.parser. Here is the minimal reproducer: struct Exp_struct { char type; unsigned char cost; }; extern void foo(); void print_expression(struct Exp_struct * n) { int i; if (n->type == 2) { for (i=0; icost; i++) foo(); foo(); } else { for (i=0; icost; i++) foo(); if (n->cost == 0) foo(); } } $ gcc-42 -c -O2 par.c par.c: In function 'print_expression': par.c:17: internal compiler error: in check_reg_live, at haifa-sched.c:4645 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- Summary: ICE in check_reg_live, at haifa-sched.c:4645 with -O2 at IPF Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: grigory_zagorodnev at linux dot intel dot com GCC build triplet: ia64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26725