Message ID | 4E5CF46F.5090809@codesourcery.com |
---|---|
State | New |
Headers | show |
2011-08-30 Andrew Stubbs <ams@codesourcery.com> gcc/ * config/arm/arm.c (arm_gen_constant): Set can_negate correctly when code is SET. --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3367,8 +3367,8 @@ arm_gen_constant (enum rtx_code code, enum machine_mode mode, rtx cond, if (code == SET) { + can_negate = can_invert; can_invert = 0; - can_negate = 1; code = PLUS; } else if (code == MINUS)