From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4671 invoked by alias); 18 Sep 2006 13:37:00 -0000 Received: (qmail 4638 invoked by uid 48); 18 Sep 2006 13:36:51 -0000 Date: Mon, 18 Sep 2006 13:37:00 -0000 Subject: [Bug tree-optimization/29128] New: [4.2 Regression] ICE: in move_block_after_check, at haifa-sched.c:4337 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tbm at cyrius 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-09/txt/msg01701.txt.bz2 List-Id: I get the following on ia64, but not on e.g. x86_64. tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O2 erlang-beam_emu.c erlang-beam_emu.c: In function 'process_main': erlang-beam_emu.c:28: internal compiler error: in move_block_after_check, at haifa-sched.c:4337 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. For Debian GNU/Linux specific bug reporting instructions, see . tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O1 erlang-beam_emu.c tbm@coconut0:~$ gcc-4.1 -c -O2 erlang-beam_emu.c tbm@coconut0:~$ tbm@coconut0:~$ cat erlang-beam_emu.c typedef unsigned long Eterm; process_main (void) { register Eterm x0; register Eterm *reg = ((void *) 0); register Eterm *I = ((void *) 0); static void *opcodes[] = { &&lb_allocate_heap_zero_III, &&lb_allocate_init_tIy, &&lb_allocate_zero_tt }; lb_allocate_heap_III:{ Eterm *next; goto *(next); } lb_allocate_heap_zero_III:{ } lb_allocate_init_tIy:{ } lb_allocate_zero_tt:{ Eterm *next; { Eterm *tmp_ptr = ((Eterm *) (((x0)) - 0x1)); (*(Eterm *) (((unsigned char *) reg) + (I[(0) + 1]))) = ((tmp_ptr)[0]); x0 = ((tmp_ptr)[1]); } goto *(next); } } -- Summary: [4.2 Regression] ICE: in move_block_after_check, at haifa-sched.c:4337 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29128