that's not a proper insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210618
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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. */