arm.c (thumb2_final_prescan_insn): Don't incrememnt condexec_count when skipping USE and CLOBBER.

2007-02-21  Paul Brook  <paul@codesourcery.com>

	* config/arm/arm.c (thumb2_final_prescan_insn): Don't incrememnt
	condexec_count when skipping USE and CLOBBER.

From-SVN: r122205
This commit is contained in:
Paul Brook 2007-02-21 21:30:43 +00:00 committed by Paul Brook
parent 532e9fe7d3
commit 5b0202af18
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-02-21 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (thumb2_final_prescan_insn): Don't incrememnt
condexec_count when skipping USE and CLOBBER.
2007-02-21 Nick Clifton <nickc@redhat.com>
* common.opt (Warray-bounds): Add Warning attribute.

View File

@ -12243,10 +12243,7 @@ thumb2_final_prescan_insn (rtx insn)
/* USE and CLOBBER aren't really insns, so just skip them. */
if (GET_CODE (body) == USE
|| GET_CODE (body) == CLOBBER)
{
arm_condexec_count++;
continue;
}
continue;
/* ??? Recognize conditional jumps, and combine them with IT blocks. */
if (GET_CODE (body) != COND_EXEC)