[PATCH]: Fix PR28489 - [4.2 regression] ICE in move_insn, at haifa-sched.c:1968

Maxim Kuvyrkov mkuvyrkov@ispras.ru
Mon Aug 14 13:09:00 GMT 2006


This patch fixes PR rtl-optimization/28489.

The first problem is that we create new basic block for unreachable 
instructions in the wrong place (in the middle of current block) - 
sadly, that's my typo.

The second problem is that we should skip empty blocks during EBB 
scheduling so that there will be no need to move jumps between blocks 
when that is not needed.

::ADDPATCH scheduler:


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-pr28489.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060814/294e5a1b/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pr28489.patch
Type: text/x-patch
Size: 3533 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060814/294e5a1b/attachment.bin>

More information about the Gcc-patches mailing list