diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33c5b48e4bc..fba575ec635 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-06-25 Tom de Vries + + * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM. + 2014-06-25 Bernd Edlinger * tree-ssa-forwprop.c (associate_plusminus): For widening conversions diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 464dec1dd83..0146fe8ef94 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -17642,11 +17642,11 @@ arm_emit_call_insn (rtx pat, rtx addr, bool sibcall) if (TARGET_AAPCS_BASED) { /* For AAPCS, IP and CC can be clobbered by veneers inserted by the - linker. We need to add these to allow setting - TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS to true. */ + linker. We need to add an IP clobber to allow setting + TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS to true. A CC clobber + is not needed since it's a fixed register. */ rtx *fusage = &CALL_INSN_FUNCTION_USAGE (insn); clobber_reg (fusage, gen_rtx_REG (word_mode, IP_REGNUM)); - clobber_reg (fusage, gen_rtx_REG (word_mode, CC_REGNUM)); } }