store-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a loop over basic blocks.
* store-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a loop over basic blocks. From-SVN: r155454
This commit is contained in:
parent
0986ef456e
commit
b114d73a7b
|
@ -1,3 +1,8 @@
|
|||
2009-12-24 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* store-motion.c (build_store_vectors): Clear regs_set_in_block at
|
||||
the start of a loop over basic blocks.
|
||||
|
||||
2009-12-24 Julian Brown <julian@codesourcery.com>
|
||||
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
||||
|
||||
|
|
|
@ -1067,6 +1067,8 @@ build_store_vectors (void)
|
|||
|
||||
FOR_EACH_BB (bb)
|
||||
{
|
||||
memset (regs_set_in_block, 0, sizeof (int) * max_gcse_regno);
|
||||
|
||||
FOR_BB_INSNS (bb, insn)
|
||||
if (INSN_P (insn))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue