[PATCH] Fix PR33009, -frtl-abstract-sequences causes an infinite loop
Gabor Loki
loki@gcc.gnu.org
Mon Mar 3 13:36:00 GMT 2008
Hi,
This patch fixes the PR33009 for rtl-factoring.c.
The infinite loop problem comes from the merge of dataflow branch.
My next mail will contain two gcc.c-torture/compile tests for
-frtl-abstract-sequences, in order not to let such thing happen again.
Bootstrapped and regtested on i686-linux-gnu.
Ok for trunk?
--Gabor
2008-03-03 Gabor Loki <loki@gcc.gnu.org>
PR gcc/33009
* rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps.
(asplit_block): New. Split basic block and rebuild dataflow.
(block_label_after): Use ASPLIT_BLOCK instead of SPLIT_BLOCK.
(split_pattern_seq): Likewise.
(erase_matching_seqs): Likewise.
(split_pattern_seq): Skip return insn in case of REG_NORETURN note.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR33009.patch
Type: text/x-patch
Size: 2860 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080303/70163488/attachment.bin>
More information about the Gcc-patches
mailing list