From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4397 invoked by alias); 15 Jan 2009 19:19:39 -0000 Received: (qmail 4364 invoked by uid 48); 15 Jan 2009 19:19:30 -0000 Date: Thu, 15 Jan 2009 19:19:00 -0000 Subject: [Bug middle-end/38857] New: [4.4 Regression] ICE in selective scheduler X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sje at cup dot hp dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg01635.txt.bz2 With this test case the selective scheduler is hitting a gcc_assert in sel-sched-ir.c I see this on IA64 Linux or on IA64 HP-UX when in 64 bit mode. In both cases it happens when compiling with -O3. x.c: In function 'dv_guess_qnos': x.c:22: internal compiler error: in sel_move_insn, at sel-sched-ir.c:1395 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Test case: static const int vs_total_ac_bits = 2680; typedef struct EncBlockInfo { short mb[64]; unsigned char next[64]; } EncBlockInfo; inline void dv_guess_qnos(EncBlockInfo* blks, int* qnos) { int size[5]; int j, k, a, prev; EncBlockInfo* b; for(a=2; a==2 || vs_total_ac_bits < size[0]; a+=a){ for (j=0; j<6*5; j++, b++) { for (k= b->next[prev]; k<64; k= b->next[k]) { if(b->mb[k] < a && b->mb[k] > -a){ b->next[prev] = b->next[k]; } else{ prev = k; } } } } } -- Summary: [4.4 Regression] ICE in selective scheduler Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38857