arm.c (arm_gen_constant): Set can_negate correctly when code is SET.
2011-08-30 Andrew Stubbs <ams@codesourcery.com> gcc/ * config/arm/arm.c (arm_gen_constant): Set can_negate correctly when code is SET. From-SVN: r178319
This commit is contained in:
parent
bd34109a28
commit
f8dd28d62d
@ -1,3 +1,8 @@
|
|||||||
|
2011-08-30 Andrew Stubbs <ams@codesourcery.com>
|
||||||
|
|
||||||
|
* config/arm/arm.c (arm_gen_constant): Set can_negate correctly
|
||||||
|
when code is SET.
|
||||||
|
|
||||||
2011-08-30 Richard Guenther <rguenther@suse.de>
|
2011-08-30 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
PR middle-end/48571
|
PR middle-end/48571
|
||||||
|
@ -3367,8 +3367,8 @@ arm_gen_constant (enum rtx_code code, enum machine_mode mode, rtx cond,
|
|||||||
|
|
||||||
if (code == SET)
|
if (code == SET)
|
||||||
{
|
{
|
||||||
|
can_negate = can_invert;
|
||||||
can_invert = 0;
|
can_invert = 0;
|
||||||
can_negate = 1;
|
|
||||||
code = PLUS;
|
code = PLUS;
|
||||||
}
|
}
|
||||||
else if (code == MINUS)
|
else if (code == MINUS)
|
||||||
|
Loading…
Reference in New Issue
Block a user