[PR debug/47620] schedule boundary debug insns right away

Alexandre Oliva aoliva@redhat.com
Tue Feb 15 18:25:00 GMT 2011


After revamping the way we dealt with boundary debug insns in the
scheduler, some platforms started failing builds when the scheduler
attempted to queue a debug insns that was to be scheduled in the 0th
tick, but we were at tick -1.

With this patch, we add the initial debug insn to the ready list at tick
-1, rather than queue it up for cycle 0, and they get scheduled just as
expected.

This fixed the bootstrap problems on ppc64-linux-gnu and
s390x-linux-gnu.  There's apparently still some lingering problem on
s390-linux-gnu, but I suppose this fix can go in independently.  Ok to
install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vta-sched-queued-debug-pr47620.patch
Type: text/x-diff
Size: 807 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110215/14e97e83/attachment.bin>
-------------- next part --------------


-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


More information about the Gcc-patches mailing list