dwarf2out.c (dwarf2out_frame_debug): Check for queued saves again after processing insn.

* dwarf2out.c (dwarf2out_frame_debug): Check for queued saves
	again after processing insn.

From-SVN: r162460
This commit is contained in:
Daniel Jacobowitz 2010-07-23 13:55:07 +00:00 committed by Daniel Jacobowitz
parent 96f3a5d239
commit 6afb52d3e2
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-07-23 Daniel Jacobowitz <dan@codesourcery.com>
* dwarf2out.c (dwarf2out_frame_debug): Check for queued saves
again after processing insn.
2010-07-23 Jie Zhang <jie@codesourcery.com>
* tree-sra.c (ipa_sra_preliminary_function_checks): Dump

View file

@ -2791,6 +2791,12 @@ dwarf2out_frame_debug (rtx insn, bool after_p)
insn = PATTERN (insn);
found:
dwarf2out_frame_debug_expr (insn, label);
/* Check again. A parallel can save and update the same register.
We could probably check just once, here, but this is safer than
removing the check above. */
if (clobbers_queued_reg_save (insn))
flush_queued_reg_saves ();
}
/* Determine if we need to save and restore CFI information around this