http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48629
Summary: ICE on gcc.dg/pr42389.c on ia64-*-* with -fsched-pressure Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: s...@cup.hp.com The test gcc.dg/pr42389.c started failing at r171845 on IA64 HP-UX and Linux. obj_gcc/gcc/cc1 -O2 -fselective-scheduling -fsel-sched-pipelining -fsched-pressure -quiet pr42389.c pr42389.c: In function 'reset_path_costs': pr42389.c:49:1: internal compiler error: in bundling, at config/ia64/ia64.c:8842 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. ChangeLog: 2011-04-01 Bernd Schmidt <ber...@codesourcery.com> * dwarf2out.h (dwarf2out_frame_debug_init): Declare. * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken out of ... (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. * final.c (final_start_function): Call the new function rather than using a NULL argument for dwarf2out_frame_debug. * ifcvt.c (cond_exec_process_insns): Disallow converting a block that contains the prologue. * haifa-sched.c (queue_insn): New arg REASON. All callers changed. Print it in debugging output. * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. * sched-ebb.c (begin_schedule_ready): Remove second argument. Split most of the code into... (begin_move_insn): ... here. New function. (ebb_sched_info): Add a pointer to it. * haifa-sched.c (scheduled_insns): New static variable. (sched_extend_ready_list): Allocate it. (schedule_block): Use it to record the order of scheduled insns. Perform RTL changes to move insns only after all scheduling decisions have been made. * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the begin_move_insn field. * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. * sched-int.h (struct haifa_sched_info): Remove second argument from begin_schedule_ready hook. Add new member begin_move_insn. * sched-rgn.c (begin_schedule_ready): Remove second argument. (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. * haifa-sched.c (prune_ready_list): New function, broken out of schedule_block. (schedule_block): Use it.