Commit 514b3156 by Richard Earnshaw Committed by Richard Earnshaw

arm.c (thumb1_reorg): When scanning backwards skip anything that's not a proper insn.

	* arm.c (thumb1_reorg): When scanning backwards skip anything
	that's not a proper insn.

From-SVN: r210618
parent 68038e6a
2014-05-19 Richard Earnshaw <rearnsha@arm.com>
* arm.c (thumb1_reorg): When scanning backwards skip anything
that's not a proper insn.
2014-05-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/61221
......
......@@ -16935,7 +16935,7 @@ thumb1_reorg (void)
rtx prev, insn = BB_END (bb);
bool insn_clobbered = false;
while (insn != BB_HEAD (bb) && DEBUG_INSN_P (insn))
while (insn != BB_HEAD (bb) && !NONDEBUG_INSN_P (insn))
insn = PREV_INSN (insn);
/* Find the last cbranchsi4_insn in basic block BB. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment