[Bug rtl-optimization/11320] [3.3 regression] Scheduler bug
bernds at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 15 13:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11320
--- Comment #11 from Bernd Schmidt <bernds at gcc dot gnu.org> 2011-07-15 13:20:17 UTC ---
Author: bernds
Date: Fri Jul 15 13:20:10 2011
New Revision: 176315
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176315
Log:
Revert
2003-07-10 Eric Botcazou <ebotcazou@libertysurf.fr>
PR rtl-optimization/11320
* sched-int.h (struct deps) [reg_conditional_sets]: New field.
(struct sched_info) [compute_jump_reg_dependencies]: New prototype.
* sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
current_sched_info->compute_jump_reg_dependencies. Record which
registers are used and which registers are set by the jump.
Clear deps->reg_conditional_sets after a barrier.
Set deps->reg_conditional_sets if the insn is a COND_EXEC.
Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
(init_deps): Initialize reg_conditional_sets.
(free_deps): Clear reg_conditional_sets.
* sched-ebb.c (compute_jump_reg_dependencies): New prototype.
Mark registers live on entry of the fallthrough block and conditionally
set as set by the jump. Mark registers live on entry of non-fallthrough
blocks as used by the jump.
* sched-rgn.c (compute_jump_reg_dependencies): New prototype.
Mark new parameters as unused.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/modulo-sched.c
trunk/gcc/sched-deps.c
trunk/gcc/sched-ebb.c
trunk/gcc/sched-int.h
trunk/gcc/sched-rgn.c
More information about the Gcc-bugs
mailing list