From 7dd28afd6c6cb4f246d113bdec37185ad9c40e9f Mon Sep 17 00:00:00 2001 From: pbrook Date: Wed, 21 Feb 2007 21:30:43 +0000 Subject: [PATCH] 2007-02-21 Paul Brook * config/arm/arm.c (thumb2_final_prescan_insn): Don't incrememnt condexec_count when skipping USE and CLOBBER. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122205 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd362ff3367..37f33bbe79d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-21 Paul Brook + + * config/arm/arm.c (thumb2_final_prescan_insn): Don't incrememnt + condexec_count when skipping USE and CLOBBER. + 2007-02-21 Nick Clifton * common.opt (Warray-bounds): Add Warning attribute. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index b4c1289075a..6998332a79d 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) -- 2.11.0