[PR debug/45136] revamp handling of BB boundary debug insns in sched

Richard Henderson rth@redhat.com
Tue Feb 1 16:30:00 GMT 2011


On 01/31/2011 02:10 AM, Alexandre Oliva wrote:
> 	PR debug/47498
> 	PR debug/47501
> 	PR debug/45136
> 	PR debug/45130
> 	* haifa-sched.c (get_ebb_head_tail): Move notes across boundary
> 	debug insns.
> 	(no_real_insns_p, schedule_block, set_priorities): Drop special
> 	treatment of boundary debug insns.
> 	* sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
> 	insns.
> 	* sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
> 	* sched-int.h (DEBUG_INSN_SCHED_P): Remove.
> 	(BOUNDARY_DEBUG_INSN_P): Likewise.
> 	(SCHEDULE_DEBUG_INSN_P): Likewise.
> 	* sched-rgn.c (init_ready_list): Drop special treatment of
> 	boundary debug insns.
> 	* final.c (rest_of_clean_state): Clear notes' BB.

Revised patch is ok.


r~



More information about the Gcc-patches mailing list