aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2007-02-21 21:30:43 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2007-02-21 21:30:43 +0000
commit5b0202af1848f821c29d510d814af06f7670d093 (patch)
treebec82291b9d4c9b8821cc9a0c6d897ae31a2348c
parent532e9fe7d3d2e59bd4a9bb51c784feb931b5c6bd (diff)
downloadgcc-5b0202af1848f821c29d510d814af06f7670d093.zip
gcc-5b0202af1848f821c29d510d814af06f7670d093.tar.gz
gcc-5b0202af1848f821c29d510d814af06f7670d093.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bd362ff..37f33bb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index b4c1289..6998332 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -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)